diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 21:54:12 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-07-31 17:22:42 (GMT) |
commit | 41364824ad84a40c9906b7b5de492e45a74c8945 (patch) | |
tree | c53e0a60e2e2d1f736a9ce621a32b582e15285f1 /Source/cmFunctionBlocker.cxx | |
parent | 6491270e0d3699f5151c08ef41dce84724f9ffc1 (diff) | |
download | CMake-41364824ad84a40c9906b7b5de492e45a74c8945.zip CMake-41364824ad84a40c9906b7b5de492e45a74c8945.tar.gz CMake-41364824ad84a40c9906b7b5de492e45a74c8945.tar.bz2 |
cmFunctionBlocker: Recycle functions
Diffstat (limited to 'Source/cmFunctionBlocker.cxx')
-rw-r--r-- | Source/cmFunctionBlocker.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFunctionBlocker.cxx b/Source/cmFunctionBlocker.cxx index 437d4b5..5778a71 100644 --- a/Source/cmFunctionBlocker.cxx +++ b/Source/cmFunctionBlocker.cxx @@ -4,6 +4,7 @@ #include <cassert> #include <sstream> +#include <utility> #include "cmExecutionStatus.h" #include "cmMakefile.h" @@ -36,7 +37,7 @@ bool cmFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff, mf.IssueMessage(MessageType::AUTHOR_WARNING, e.str()); } - return this->Replay(this->Functions, status); + return this->Replay(std::move(this->Functions), status); } } |