diff options
author | Brad King <brad.king@kitware.com> | 2020-09-25 11:40:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-28 13:49:07 (GMT) |
commit | 68af831505450a34ddd4bf767844bc3890eb52e5 (patch) | |
tree | 30acd56959f1bc4b36e9b69451264fc67ac73cf4 /Source/cmIfCommand.cxx | |
parent | 280f3918f3a731f64c94b2b7c912c58d714fc676 (diff) | |
download | CMake-68af831505450a34ddd4bf767844bc3890eb52e5.zip CMake-68af831505450a34ddd4bf767844bc3890eb52e5.tar.gz CMake-68af831505450a34ddd4bf767844bc3890eb52e5.tar.bz2 |
cmMakefile: Inline GetExecutionContext at call sites
The method only had one line, and its implementation is more clear
at the call sites than the method name.
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 5808f90..9930a85 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -179,7 +179,7 @@ bool cmIfCommand(std::vector<cmListFileArgument> const& args, MessageType status; cmConditionEvaluator conditionEvaluator( - makefile, makefile.GetExecutionContext(), makefile.GetBacktrace()); + makefile, makefile.GetBacktrace().Top(), makefile.GetBacktrace()); bool isTrue = conditionEvaluator.IsTrue(expandedArguments, errorString, status); |