mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: mark comparison operator const
This commit is contained in:
parent
13b5e23dec
commit
68a727aac8
@ -553,7 +553,7 @@ void registerAdaptiveParameters();
|
||||
return serializationTestObject_<SimpleIterationCountTimeStepControl>();
|
||||
}
|
||||
|
||||
bool operator==(const AdaptiveTimeStepping<TypeTag>& rhs)
|
||||
bool operator==(const AdaptiveTimeStepping<TypeTag>& rhs) const
|
||||
{
|
||||
if (timeStepControlType_ != rhs.timeStepControlType_ ||
|
||||
(timeStepControl_ && !rhs.timeStepControl_) ||
|
||||
|
Loading…
Reference in New Issue
Block a user