summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 16ba2c2..1d45b30 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -143,10 +143,11 @@ public:
{
}
- static cmListFileContext FromCommandContext(
- cmCommandContext const& lfcc, std::string const& fileName,
+ static cmListFileContext FromListFileFunction(
+ cmListFileFunction const& lff, std::string const& fileName,
cm::optional<std::string> deferId = {})
{
+ cmCommandContext const& lfcc = lff;
cmListFileContext lfc;
lfc.FilePath = fileName;
lfc.Line = lfcc.Line;