Browse Source

UnitTest: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 4 years ago committed by Don Gagne
parent
commit
19b216c44a
  1. 2
      src/qgcunittest/UnitTest.h

2
src/qgcunittest/UnitTest.h

@ -76,7 +76,7 @@ public: @@ -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.

Loading…
Cancel
Save