cmSourceFile: Take a string

This commit is contained in:
Ben Boeckel committed 2014-04-28 21:43:40 -04:00
1 parent 7b8a990424
commit 77b3796581
1 file changed
+1 -1
+1 -1
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; }