diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-04-07 19:27:41 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-21 07:25:32 (GMT) |
commit | de77d355ac1808164b7247290f45b8133ce1246b (patch) | |
tree | 09a027fac3e54ba058ce81326ae3f22357437447 /Source/cmState.h | |
parent | 0101ace1319b5c97472649ec809b67299e2a46ce (diff) | |
download | CMake-de77d355ac1808164b7247290f45b8133ce1246b.zip CMake-de77d355ac1808164b7247290f45b8133ce1246b.tar.gz CMake-de77d355ac1808164b7247290f45b8133ce1246b.tar.bz2 |
cmState: Add scripted commands by value
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index a6e9386..07c1c9b 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -158,8 +158,7 @@ public: std::unique_ptr<cmCommand> command, cmPolicies::PolicyID policy, const char* message); void AddUnexpectedCommand(std::string const& name, const char* error); - void AddScriptedCommand(std::string const& name, - std::unique_ptr<cmCommand> command); + void AddScriptedCommand(std::string const& name, Command command); void RemoveBuiltinCommand(std::string const& name); void RemoveUserDefinedCommands(); std::vector<std::string> GetCommandNames() const; |