summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-25 13:37:37 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-25 13:39:52 (GMT)
commit03866411423c1b844580eb4879f378a592d73809 (patch)
treef9023f091e1ad1f99bf8064ffe6e8e545d253f43 /Source/cmMakefile.cxx
parent3c4fa4c8924c1e219981bbc30ad02a89fd144ab6 (diff)
downloadCMake-03866411423c1b844580eb4879f378a592d73809.zip
CMake-03866411423c1b844580eb4879f378a592d73809.tar.gz
CMake-03866411423c1b844580eb4879f378a592d73809.tar.bz2
cmListFileCache: Rename FromCommandContext to FromListFileFunction
Accept a `cmListFileFunction` instead of a `cmCommandContext`.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index cc687b1..68e61bb 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -339,7 +339,7 @@ public:
cm::optional<std::string> deferId, cmExecutionStatus& status)
: Makefile(mf)
{
- cmListFileContext const& lfc = cmListFileContext::FromCommandContext(
+ cmListFileContext const& lfc = cmListFileContext::FromListFileFunction(
lff, this->Makefile->StateSnapshot.GetExecutionListFile(),
std::move(deferId));
this->Makefile->Backtrace = this->Makefile->Backtrace.Push(lfc);