summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 05:06:39 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-16 05:06:39 (GMT)
commitc8c341690f62b01392c487ec68ca39c578be170b (patch)
tree5ee32f00c7037c55faaa8e802fd03ccee0fe9412
parentebf8a41984f591dbd6c22735aec7f2b1c36c9e0a (diff)
downloadCMake-c8c341690f62b01392c487ec68ca39c578be170b.zip
CMake-c8c341690f62b01392c487ec68ca39c578be170b.tar.gz
CMake-c8c341690f62b01392c487ec68ca39c578be170b.tar.bz2
cmExecutionStatus: De-virtualize API.
It is clearly not required.
-rw-r--r--Source/cmExecutionStatus.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/Source/cmExecutionStatus.h b/Source/cmExecutionStatus.h
index d4da5a4..6d3fac6 100644
--- a/Source/cmExecutionStatus.h
+++ b/Source/cmExecutionStatus.h
@@ -26,33 +26,32 @@ public:
cmExecutionStatus() { this->Clear();}
- virtual void SetReturnInvoked(bool val)
+ void SetReturnInvoked(bool val)
{ this->ReturnInvoked = val; }
- virtual bool GetReturnInvoked()
+ bool GetReturnInvoked()
{ return this->ReturnInvoked; }
- virtual void SetBreakInvoked(bool val)
+ void SetBreakInvoked(bool val)
{ this->BreakInvoked = val; }
- virtual bool GetBreakInvoked()
+ bool GetBreakInvoked()
{ return this->BreakInvoked; }
- virtual void SetContinueInvoked(bool val)
+ void SetContinueInvoked(bool val)
{ this->ContinueInvoked = val; }
- virtual bool GetContinueInvoked()
+ bool GetContinueInvoked()
{ return this->ContinueInvoked; }
- virtual void Clear()
+ void Clear()
{
this->ReturnInvoked = false;
this->BreakInvoked = false;
this->ContinueInvoked = false;
this->NestedError = false;
}
- virtual void SetNestedError(bool val) { this->NestedError = val; }
- virtual bool GetNestedError() { return this->NestedError; }
+ void SetNestedError(bool val) { this->NestedError = val; }
+ bool GetNestedError() { return this->NestedError; }
-
-protected:
+private:
bool ReturnInvoked;
bool BreakInvoked;
bool ContinueInvoked;