summaryrefslogtreecommitdiffstats
path: root/Source/cmWhileCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-07-30 21:54:12 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-07-31 17:22:42 (GMT)
commit41364824ad84a40c9906b7b5de492e45a74c8945 (patch)
treec53e0a60e2e2d1f736a9ce621a32b582e15285f1 /Source/cmWhileCommand.cxx
parent6491270e0d3699f5151c08ef41dce84724f9ffc1 (diff)
downloadCMake-41364824ad84a40c9906b7b5de492e45a74c8945.zip
CMake-41364824ad84a40c9906b7b5de492e45a74c8945.tar.gz
CMake-41364824ad84a40c9906b7b5de492e45a74c8945.tar.bz2
cmFunctionBlocker: Recycle functions
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r--Source/cmWhileCommand.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx
index 1e442e5..a396852 100644
--- a/Source/cmWhileCommand.cxx
+++ b/Source/cmWhileCommand.cxx
@@ -30,7 +30,7 @@ public:
bool ArgumentsMatch(cmListFileFunction const& lff,
cmMakefile& mf) const override;
- bool Replay(std::vector<cmListFileFunction> const& functions,
+ bool Replay(std::vector<cmListFileFunction> functions,
cmExecutionStatus& inStatus) override;
std::vector<cmListFileArgument> Args;
@@ -56,9 +56,8 @@ bool cmWhileFunctionBlocker::ArgumentsMatch(cmListFileFunction const& lff,
return lff.Arguments.empty() || lff.Arguments == this->Args;
}
-bool cmWhileFunctionBlocker::Replay(
- std::vector<cmListFileFunction> const& functions,
- cmExecutionStatus& inStatus)
+bool cmWhileFunctionBlocker::Replay(std::vector<cmListFileFunction> functions,
+ cmExecutionStatus& inStatus)
{
cmMakefile& mf = inStatus.GetMakefile();
std::string errorString;