fixed: anonymize globals to avoid shadowing warnings

This commit is contained in:
Arne Morten Kvarving 2020-10-06 08:23:11 +02:00
parent 33d09936c3
commit 62c067f462

View File

@ -28,9 +28,13 @@
#include <opm/common/utility/OpmInputError.hpp>
namespace {
const Opm::KeywordLocation location { "MXUNSUPP", "FILENAME.DAT", 42 } ;
const std::string error_string { "Error encountered" } ;
}
BOOST_AUTO_TEST_CASE(simple) {
const std::string expected { "MXUNSUPP@FILENAME.DAT:42" } ;