fixed: mark comparison operator const

This commit is contained in:
Arne Morten Kvarving 2024-11-06 10:33:20 +01:00
parent 13b5e23dec
commit 68a727aac8

View File

@ -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_) ||