diff options
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r-- | Source/cmListFileCache.h | 5 |
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; |