summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-30 23:50:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-01 17:45:05 (GMT)
commit6c7dad41d9f5e9b6ab6bdd6ddee837aa5509e19e (patch)
treecc8e71402302578db09a24e52bdbe222e9cc7a2c /Source/cmDefinitions.h
parenta7ce0c7bc03efcfff6bf9fecc52663409262d73d (diff)
downloadCMake-6c7dad41d9f5e9b6ab6bdd6ddee837aa5509e19e.zip
CMake-6c7dad41d9f5e9b6ab6bdd6ddee837aa5509e19e.tar.gz
CMake-6c7dad41d9f5e9b6ab6bdd6ddee837aa5509e19e.tar.bz2
cmDefinitions: Make Get method static.
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r--Source/cmDefinitions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index 77edbd0..b244793 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -31,9 +31,9 @@ class cmDefinitions
public:
/** Get the value associated with a key; null if none.
Store the result locally if it came from a parent. */
- const char* Get(const std::string& key,
- std::list<cmDefinitions>::reverse_iterator rbegin,
- std::list<cmDefinitions>::reverse_iterator rend);
+ static const char* Get(const std::string& key,
+ std::list<cmDefinitions>::reverse_iterator rbegin,
+ std::list<cmDefinitions>::reverse_iterator rend);
/** Set (or unset if null) a value associated with a key. */
void Set(const std::string& key, const char* value);