mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmProperty: Remove needless Name member.
Size goes from 72 to 40 bytes with GNU libstdc++-5.1.
This commit is contained in:
+2
-4
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user