diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-04 02:16:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:30 (GMT) |
commit | b26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0 (patch) | |
tree | 3990d8f7bd5ea1db0a2dc0b09eb1d1c489ab6c8d /Source/cmXCodeObject.cxx | |
parent | 9f48d3bac22118fc1dddbf1eec6da4cb24c585c4 (diff) | |
download | CMake-b26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0.zip CMake-b26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0.tar.gz CMake-b26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0.tar.bz2 |
stringapi: Use strings for AddString methods
It gets turned into a string anyways, so pass them in.
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r-- | Source/cmXCodeObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx index 6abf6bf..3b9035f 100644 --- a/Source/cmXCodeObject.cxx +++ b/Source/cmXCodeObject.cxx @@ -266,7 +266,7 @@ void cmXCodeObject::PrintString(std::ostream& os) const } //---------------------------------------------------------------------------- -void cmXCodeObject::SetString(const char* s) +void cmXCodeObject::SetString(const std::string& s) { this->String = s; } |