Apply more clang-tidy-11
[alexxy/gromacs.git] / src / testutils / refdata.cpp
index ba119355582df7668eebbd5f8fac110632ebe68f..075a028761ae41b642f1b492fe090530c245c332 100644 (file)
@@ -96,7 +96,7 @@ public:
     TestReferenceDataImpl(ReferenceDataMode mode, bool bSelfTestMode);
 
     //! Performs final reference data processing when test ends.
-    void onTestEnd(bool testPassed);
+    void onTestEnd(bool testPassed) const;
 
     //! Full path of the reference data file.
     std::string fullFilename_;
@@ -334,7 +334,7 @@ TestReferenceDataImpl::TestReferenceDataImpl(ReferenceDataMode mode, bool bSelfT
     }
 }
 
-void TestReferenceDataImpl::onTestEnd(bool testPassed)
+void TestReferenceDataImpl::onTestEnd(bool testPassed) const
 {
     if (!bInUse_)
     {