diff options
author | Brad King <brad.king@kitware.com> | 2016-03-29 14:01:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-29 14:10:20 (GMT) |
commit | 2379b3ae3171db7277fd3cf126b5b0c298231b83 (patch) | |
tree | 889b59d85dbcfa8e81e20fa967523a17084af0ea /Source/cmWhileCommand.cxx | |
parent | 02fce523a13c8e4cda0c95334b480bb87336ed1c (diff) | |
download | CMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.zip CMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.tar.gz CMake-2379b3ae3171db7277fd3cf126b5b0c298231b83.tar.bz2 |
cmConditionEvaluator: Remove GetConditionContext method
All it does is call cmListFileContext::FromCommandContext, so move this
to the call sites.
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r-- | Source/cmWhileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx index 4b7afd8..aabbe27 100644 --- a/Source/cmWhileCommand.cxx +++ b/Source/cmWhileCommand.cxx @@ -56,8 +56,8 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, commandContext.Name = execContext.Name; cmListFileContext conditionContext = - cmConditionEvaluator::GetConditionContext( - &mf, commandContext, + cmListFileContext::FromCommandContext( + commandContext, this->GetStartingContext().FilePath); cmConditionEvaluator conditionEvaluator( |