From 19b216c44ac4fc029d2801f80533b228dc0d312c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 1 Feb 2021 12:58:10 -0300 Subject: [PATCH] UnitTest: Add missing const in member functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/qgcunittest/UnitTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qgcunittest/UnitTest.h b/src/qgcunittest/UnitTest.h index 480e392..ba33487 100644 --- a/src/qgcunittest/UnitTest.h +++ b/src/qgcunittest/UnitTest.h @@ -76,7 +76,7 @@ public: // @param Expected failure response flags void checkExpectedFileDialog(int expectFailFlags = expectFailNoFailure); - bool standalone(void) { return _standalone; } + bool standalone(void) const{ return _standalone; } void setStandalone(bool standalone) { _standalone = standalone; } /// @brief Adds a unit test to the list. Should only be called by UnitTestWrapper.