Avoid warning by defining static variable inline.

This commit is contained in:
Atgeirr Flø Rasmussen 2021-06-03 13:19:43 +02:00
parent 8e6e1c3d5e
commit be0515dcba
2 changed files with 1 additions and 4 deletions

View File

@ -51,9 +51,6 @@
namespace Opm {
template<class GridView, class FluidSystem, class Scalar>
std::string EclGenericProblem<GridView,FluidSystem,Scalar>::briefDescription_;
template<class GridView, class FluidSystem, class Scalar>
EclGenericProblem<GridView,FluidSystem,Scalar>::
EclGenericProblem(const EclipseState& eclState,

View File

@ -251,7 +251,7 @@ protected:
const Schedule& schedule_;
const GridView& gridView_;
static std::string briefDescription_;
static inline std::string briefDescription_;
std::array<std::vector<Scalar>, 2> referencePorosity_;
std::vector<int> pvtnum_;