summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-04 02:16:12 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:30 (GMT)
commitb26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0 (patch)
tree3990d8f7bd5ea1db0a2dc0b09eb1d1c489ab6c8d /Source/cmXCodeObject.h
parent9f48d3bac22118fc1dddbf1eec6da4cb24c585c4 (diff)
downloadCMake-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.h')
-rw-r--r--Source/cmXCodeObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index b89f78c..0761136 100644
--- a/Source/cmXCodeObject.h
+++ b/Source/cmXCodeObject.h
@@ -37,7 +37,7 @@ public:
Type GetType() { return this->TypeValue;}
PBXType GetIsA() { return this->IsA;}
- void SetString(const char* s);
+ void SetString(const std::string& s);
const char* GetString()
{
return this->String.c_str();