From 68a727aac8b0e377f5a1a22ebc47899efe7311c3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 6 Nov 2024 10:33:20 +0100 Subject: [PATCH] fixed: mark comparison operator const --- opm/simulators/timestepping/AdaptiveTimeStepping.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/timestepping/AdaptiveTimeStepping.hpp b/opm/simulators/timestepping/AdaptiveTimeStepping.hpp index 485afca1b..d3166a252 100644 --- a/opm/simulators/timestepping/AdaptiveTimeStepping.hpp +++ b/opm/simulators/timestepping/AdaptiveTimeStepping.hpp @@ -553,7 +553,7 @@ void registerAdaptiveParameters(); return serializationTestObject_(); } - bool operator==(const AdaptiveTimeStepping& rhs) + bool operator==(const AdaptiveTimeStepping& rhs) const { if (timeStepControlType_ != rhs.timeStepControlType_ || (timeStepControl_ && !rhs.timeStepControl_) ||