summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmImportedCxxModuleInfo.cxx3
-rw-r--r--Source/cmImportedCxxModuleInfo.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmImportedCxxModuleInfo.cxx b/Source/cmImportedCxxModuleInfo.cxx
index c54b265..ad49a8d 100644
--- a/Source/cmImportedCxxModuleInfo.cxx
+++ b/Source/cmImportedCxxModuleInfo.cxx
@@ -69,7 +69,6 @@ std::string ImportedCxxModuleLookup::BmiNameForSource(std::string const& path)
bmiName = cmStrCat(dirhash.substr(0, HASH_TRUNCATION), ".bmi");
}
- this->GeneratorInfo.emplace(
- path, ImportedCxxModuleGeneratorInfo{ &importit->second, bmiName });
+ this->GeneratorInfo.emplace(path, ImportedCxxModuleGeneratorInfo{ bmiName });
return bmiName;
}
diff --git a/Source/cmImportedCxxModuleInfo.h b/Source/cmImportedCxxModuleInfo.h
index e052283..1b29a06 100644
--- a/Source/cmImportedCxxModuleInfo.h
+++ b/Source/cmImportedCxxModuleInfo.h
@@ -16,7 +16,6 @@ struct ImportedCxxModuleInfo
struct ImportedCxxModuleGeneratorInfo
{
- ImportedCxxModuleInfo const* ImportedInfo;
std::string const BmiName;
};