diff options
Diffstat (limited to 'Source/cmProperty.h')
-rw-r--r-- | Source/cmProperty.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmProperty.h b/Source/cmProperty.h index bb75bb0..34897e8 100644 --- a/Source/cmProperty.h +++ b/Source/cmProperty.h @@ -21,16 +21,17 @@ public: TEST, VARIABLE, CACHED_VARIABLE }; // set this property - void Set(const char *name, const char *value); + void Set(const std::string& name, const char *value); // append to this property - void Append(const char *name, const char *value, bool asString = false); + void Append(const std::string& name, const char *value, + bool asString = false); // get the value const char *GetValue() const; // construct with the value not set - cmProperty() { this->ValueHasBeenSet = false; }; + cmProperty() { this->ValueHasBeenSet = false; } protected: std::string Name; |