summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-31 17:22:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-03-31 17:22:54 (GMT)
commit0506e37499929e3c6797328f3dc9b9b46e89aef4 (patch)
tree3fa6b5c3d65167cc7a47d3e2c1196c4ef004f126 /Source/cmake.h
parent3c7c1f07a0f0ed208efff80769bf87724f1f9210 (diff)
parenta4335a621eabd74645dfdb6b0c731a6d354fcd30 (diff)
downloadCMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.zip
CMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.tar.gz
CMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.tar.bz2
Merge topic 'cleanup-unused-variable-check'
a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 132a86d..fac86c1 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -368,8 +368,8 @@ class cmake
void UnwatchUnusedCli(const char* var);
void WatchUnusedCli(const char* var);
- void RunCheckForUnusedVariables(const std::string& reason) const;
protected:
+ void RunCheckForUnusedVariables();
void InitializeProperties();
int HandleDeleteCacheVariables(const char* var);
cmPropertyMap Properties;
@@ -467,7 +467,7 @@ private:
bool WarnUnused;
bool WarnUnusedCli;
bool CheckSystemVars;
- std::map<std::string, bool> UsedCliVariables;
+ std::map<cmStdString, bool> UsedCliVariables;
std::string CMakeEditCommand;
std::string CMakeCommand;
std::string CXXEnvironment;