summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-03-22 02:28:14 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-04-29 01:43:40 (GMT)
commit77b3796581e0b82f0b977418ed52e8c25b96bbd7 (patch)
tree7b1a388a0582f3799dd1476732fb9736b8af8526 /Source
parent7b8a990424228716cc3161027dcf2c18ef9793b6 (diff)
downloadCMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.zip
CMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.tar.gz
CMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.tar.bz2
cmSourceFile: Take a string
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSourceFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index bdcdbfd..f898260 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -86,7 +86,7 @@ public:
* Return the vector that holds the list of dependencies
*/
const std::vector<std::string> &GetDepends() const {return this->Depends;}
- void AddDepend(const char* d) { this->Depends.push_back(d); }
+ void AddDepend(const std::string& d) { this->Depends.push_back(d); }
// Get the properties
cmPropertyMap &GetProperties() { return this->Properties; }