ALL_keywords in tests non-constexpr (MSVC compat)

Windows' compiler complains that {} yields a non-const expr for the
std::initializer_list, meaning compilation breaks. Changed to a const
static instead so that MSVC is happy.
This commit is contained in:
Jørgen Kvalsvik 2016-07-11 11:20:05 +02:00
parent c84fd6ecaa
commit 590e3d2efe

View File

@ -234,7 +234,7 @@ BOOST_AUTO_TEST_CASE( merge_move ) {
well_names.begin(), well_names.end() );
}
constexpr auto ALL_keywords = {
static const auto ALL_keywords = {
"FAQR", "FAQRG", "FAQT", "FAQTG", "FGIP", "FGIPG", "FGIPL",
"FGIR", "FGIT", "FGOR", "FGPR", "FGPT", "FOIP", "FOIPG",
"FOIPL", "FOIR", "FOIT", "FOPR", "FOPT", "FPR", "FVIR",