summaryrefslogtreecommitdiff
path: root/Source/cmProperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmProperty.h')
-rw-r--r--Source/cmProperty.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmProperty.h b/Source/cmProperty.h
index bb75bb0b95..34897e8994 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;