summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index 7f00483..f25aa66 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -102,7 +102,7 @@ public:
* Return the vector that holds the list of dependencies
*/
const std::vector<std::string> &GetDepends() const {return this->Depends;}
- std::vector<std::string> &GetDepends() {return this->Depends;}
+ void AddDepend(const char* d) { this->Depends.push_back(d); }
/**
* Get the source name without last extension