mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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:
|
private:
|
||||||
// small epsilon value
|
// small epsilon value
|
||||||
static const Scalar eps_ = 3e-6;
|
static constexpr Scalar eps_ = 3e-6;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ private:
|
|||||||
GlobalPosition lowerLeft_;
|
GlobalPosition lowerLeft_;
|
||||||
GlobalPosition upperRight_;
|
GlobalPosition upperRight_;
|
||||||
|
|
||||||
static const Scalar eps_ = 1e-6;
|
static constexpr Scalar eps_ = 1e-6;
|
||||||
};
|
};
|
||||||
} //end namespace
|
} //end namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user