summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:33:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:32 (GMT)
commitadcd812917fe37798a3062bfb3a0932e128faec2 (patch)
treea122c08a2ea8654244d8821ed1db21437ca5cdbd /Source/cmGlobalGenerator.h
parent30bc251b65e9deb39c2cb8a785bd98c8d707d508 (diff)
downloadCMake-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.h2
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;
}