diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-03-22 02:28:14 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-04-29 01:43:40 (GMT) |
commit | 77b3796581e0b82f0b977418ed52e8c25b96bbd7 (patch) | |
tree | 7b1a388a0582f3799dd1476732fb9736b8af8526 /Source | |
parent | 7b8a990424228716cc3161027dcf2c18ef9793b6 (diff) | |
download | CMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.zip CMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.tar.gz CMake-77b3796581e0b82f0b977418ed52e8c25b96bbd7.tar.bz2 |
cmSourceFile: Take a string
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSourceFile.h | 2 |
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; } |