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:
parent
c84fd6ecaa
commit
590e3d2efe
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user