diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-04-07 19:46:46 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-21 07:25:32 (GMT) |
commit | 28f2d12a055e025aa0ddeb9842f204f29181eaff (patch) | |
tree | c72caeac0330934a280f3a014688b43c55a11eea /Source/cmCommands.cxx | |
parent | de77d355ac1808164b7247290f45b8133ce1246b (diff) | |
download | CMake-28f2d12a055e025aa0ddeb9842f204f29181eaff.zip CMake-28f2d12a055e025aa0ddeb9842f204f29181eaff.tar.gz CMake-28f2d12a055e025aa0ddeb9842f204f29181eaff.tar.bz2 |
cmCommand: De-virtualize function InvokeInitialPass
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 96c7105..9ae2f71 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -147,7 +147,7 @@ void GetScriptingCommands(cmState* state) cm::make_unique<cmGetFilenameComponentCommand>()); state->AddBuiltinCommand("get_property", cm::make_unique<cmGetPropertyCommand>()); - state->AddBuiltinCommand("if", cm::make_unique<cmIfCommand>()); + state->AddBuiltinCommand("if", cmIfCommand); state->AddBuiltinCommand("include", cm::make_unique<cmIncludeCommand>()); state->AddBuiltinCommand("include_guard", cm::make_unique<cmIncludeGuardCommand>()); @@ -173,7 +173,7 @@ void GetScriptingCommands(cmState* state) state->AddBuiltinCommand("site_name", cm::make_unique<cmSiteNameCommand>()); state->AddBuiltinCommand("string", cm::make_unique<cmStringCommand>()); state->AddBuiltinCommand("unset", cm::make_unique<cmUnsetCommand>()); - state->AddBuiltinCommand("while", cm::make_unique<cmWhileCommand>()); + state->AddBuiltinCommand("while", cmWhileCommand); state->AddUnexpectedCommand( "else", |