cmSourceFile: Take a string

This commit is contained in:
Ben Boeckel 2014-03-21 22:28:14 -04:00
parent 7b8a990424
commit 77b3796581
1 changed files with 1 additions and 1 deletions

View File

@ -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; }