diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 07:46:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-07 07:29:29 (GMT) |
commit | 1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (patch) | |
tree | 56ffda5b450c7b0025f0e1d03e0c98ce95a0ce1f /Source/cmProperty.h | |
parent | 93cc2eef38eab76831916bfee9d6fe16fbaaf4c1 (diff) | |
download | CMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.zip CMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.tar.gz CMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.tar.bz2 |
cmProperty: Remove needless Name member.
Size goes from 72 to 40 bytes with GNU libstdc++-5.1.
Diffstat (limited to 'Source/cmProperty.h')
-rw-r--r-- | Source/cmProperty.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmProperty.h b/Source/cmProperty.h index 659c4c3..e026372 100644 --- a/Source/cmProperty.h +++ b/Source/cmProperty.h @@ -21,11 +21,10 @@ public: TEST, VARIABLE, CACHED_VARIABLE, INSTALL }; // set this property - void Set(const std::string& name, const char *value); + void Set(const char *value); // append to this property - void Append(const std::string& name, const char *value, - bool asString = false); + void Append(const char *value, bool asString = false); // get the value const char *GetValue() const; @@ -34,7 +33,6 @@ public: cmProperty() { this->ValueHasBeenSet = false; } protected: - std::string Name; std::string Value; bool ValueHasBeenSet; }; |