mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 00:40:02 -06:00
fix the GCC 4.6 stuff in a more backward compatible way and fix a lot of "variable set but not used" warnings on GCC 4.6
if the compiler doesn't know about constexpr
This commit is contained in:
parent
2afe339845
commit
150531f932
@ -238,7 +238,7 @@ public:
|
||||
|
||||
private:
|
||||
// small epsilon value
|
||||
static const Scalar eps_ = 3e-6;
|
||||
static constexpr Scalar eps_ = 3e-6;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -293,7 +293,7 @@ private:
|
||||
GlobalPosition lowerLeft_;
|
||||
GlobalPosition upperRight_;
|
||||
|
||||
static const Scalar eps_ = 1e-6;
|
||||
static constexpr Scalar eps_ = 1e-6;
|
||||
};
|
||||
} //end namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user