diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:33:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:32 (GMT) |
commit | adcd812917fe37798a3062bfb3a0932e128faec2 (patch) | |
tree | a122c08a2ea8654244d8821ed1db21437ca5cdbd /Source/cmGlobalGenerator.h | |
parent | 30bc251b65e9deb39c2cb8a785bd98c8d707d508 (diff) | |
download | CMake-adcd812917fe37798a3062bfb3a0932e128faec2.zip CMake-adcd812917fe37798a3062bfb3a0932e128faec2.tar.gz CMake-adcd812917fe37798a3062bfb3a0932e128faec2.tar.bz2 |
stringapi: Use strings for AddSubdirectory paths
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 38d7f58..4779682 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -287,7 +287,7 @@ public: std::string const& content); /** Return whether the given binary directory is unused. */ - bool BinaryDirectoryIsNew(const char* dir) + bool BinaryDirectoryIsNew(const std::string& dir) { return this->BinaryDirectories.insert(dir).second; } |