diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-06-03 07:26:59 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-06-08 10:25:35 (GMT) |
commit | e0a8ff31480df672e42e2382e8ed7f33ea65afb4 (patch) | |
tree | b7a7b0e3d27d9d7c8d7c84e9f1a7ba4956e1d671 /Source/cmProperty.cxx | |
parent | 8d934d861be8c2a8b43d4c421715fb1e8c0c54fd (diff) | |
download | CMake-e0a8ff31480df672e42e2382e8ed7f33ea65afb4.zip CMake-e0a8ff31480df672e42e2382e8ed7f33ea65afb4.tar.gz CMake-e0a8ff31480df672e42e2382e8ed7f33ea65afb4.tar.bz2 |
cmPropertyMap: Use std::string as value container class
Diffstat (limited to 'Source/cmProperty.cxx')
-rw-r--r-- | Source/cmProperty.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/cmProperty.cxx b/Source/cmProperty.cxx deleted file mode 100644 index 27f0ecd..0000000 --- a/Source/cmProperty.cxx +++ /dev/null @@ -1,26 +0,0 @@ -/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying - file Copyright.txt or https://cmake.org/licensing for details. */ -#include "cmProperty.h" - -void cmProperty::Set(const char* value) -{ - this->Value = value; - this->ValueHasBeenSet = true; -} - -void cmProperty::Append(const char* value, bool asString) -{ - if (!this->Value.empty() && *value && !asString) { - this->Value += ";"; - } - this->Value += value; - this->ValueHasBeenSet = true; -} - -const char* cmProperty::GetValue() const -{ - if (this->ValueHasBeenSet) { - return this->Value.c_str(); - } - return nullptr; -} |