diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-06 19:05:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:29 (GMT) |
commit | 310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e (patch) | |
tree | 89b17e537dd73551de0c5c225b18a6bfbee2ed8b /Source/cmTarget.cxx | |
parent | 24e8b929eef74098d4ddf4581619322e0f4b5108 (diff) | |
download | CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.zip CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.gz CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.bz2 |
stringapi: Use strings for source names
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index d5cd140..34d92fa 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -592,7 +592,7 @@ void cmTarget::AddSources(std::vector<std::string> const& srcs) } //---------------------------------------------------------------------------- -cmSourceFile* cmTarget::AddSource(const char* s) +cmSourceFile* cmTarget::AddSource(const std::string& s) { std::string src = s; |