summaryrefslogtreecommitdiff
path: root/Source/cmForEachCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-07-30 23:54:12 +0200
committerKyle Edwards <kyle.edwards@kitware.com>2019-07-31 13:22:42 -0400
commit41364824ad84a40c9906b7b5de492e45a74c8945 (patch)
treec53e0a60e2e2d1f736a9ce621a32b582e15285f1 /Source/cmForEachCommand.cxx
parent6491270e0d3699f5151c08ef41dce84724f9ffc1 (diff)
downloadcmake-41364824ad84a40c9906b7b5de492e45a74c8945.tar.gz
cmFunctionBlocker: Recycle functions
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r--Source/cmForEachCommand.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx
index 10ce459d62..1d961be06f 100644
--- a/Source/cmForEachCommand.cxx
+++ b/Source/cmForEachCommand.cxx
@@ -31,7 +31,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<std::string> Args;
@@ -60,8 +60,7 @@ bool cmForEachFunctionBlocker::ArgumentsMatch(cmListFileFunction const& lff,
}
bool cmForEachFunctionBlocker::Replay(
- std::vector<cmListFileFunction> const& functions,
- cmExecutionStatus& inStatus)
+ std::vector<cmListFileFunction> functions, cmExecutionStatus& inStatus)
{
cmMakefile& mf = inStatus.GetMakefile();
// at end of for each execute recorded commands