From 77b3796581e0b82f0b977418ed52e8c25b96bbd7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 21 Mar 2014 22:28:14 -0400 Subject: cmSourceFile: Take a string --- Source/cmSourceFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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; } -- cgit v0.12