summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 10:44:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-12 18:08:49 (GMT)
commit275185ac2b30b655b53100a129f5d7518ed943ad (patch)
tree42450b3bbe9904a33f57e9c63e4ccc8e5412973e /Source/cmake.h
parentc57f086a81c487fa88c36a785865d27b81e3cb8d (diff)
downloadCMake-275185ac2b30b655b53100a129f5d7518ed943ad.zip
CMake-275185ac2b30b655b53100a129f5d7518ed943ad.tar.gz
CMake-275185ac2b30b655b53100a129f5d7518ed943ad.tar.bz2
cmake: Constify GetCommand method.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index a9f791d..c436c77 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -247,7 +247,7 @@ class cmake
/**
* Get a command by its name
*/
- cmCommand *GetCommand(const std::string& name);
+ cmCommand *GetCommand(const std::string& name) const;
/** Check if a command exists. */
bool CommandExists(const std::string& name) const;