summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r--Source/cmCustomCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h
index 5d59f0a..f7c6b5e 100644
--- a/Source/cmCustomCommand.h
+++ b/Source/cmCustomCommand.h
@@ -69,8 +69,8 @@ public:
void SetEscapeAllowMakeVars(bool b);
/** set get the used status of the command */
- void SetUsed() { this->Used = true;};
- bool IsUsed() { return this->Used;};
+ void SetUsed() { this->Used = true;}
+ bool IsUsed() const { return this->Used;}
private:
std::vector<std::string> Outputs;