summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-04-07 18:40:59 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-07-21 07:25:32 (GMT)
commit0101ace1319b5c97472649ec809b67299e2a46ce (patch)
treebfe5efb6d3e133e4b96994f5cd65d5417a26ff12 /Source/cmState.h
parent015001aaf138119f4825e3c84c0845c5127f9088 (diff)
downloadCMake-0101ace1319b5c97472649ec809b67299e2a46ce.zip
CMake-0101ace1319b5c97472649ec809b67299e2a46ce.tar.gz
CMake-0101ace1319b5c97472649ec809b67299e2a46ce.tar.bz2
cmUnexpectedCommand: Replace with lambda expression
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index ed70bd6..a6e9386 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -153,6 +153,7 @@ public:
void AddBuiltinCommand(std::string const& name,
std::unique_ptr<cmCommand> command);
+ void AddBuiltinCommand(std::string const& name, Command command);
void AddDisallowedCommand(std::string const& name,
std::unique_ptr<cmCommand> command,
cmPolicies::PolicyID policy, const char* message);