mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
Merge topic 'cxxmodules-invalid-iterator' into release-3.29
844f054fe0 cmImportedCxxModuleInfo: remove unused pointer field
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9303
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,6 @@ struct ImportedCxxModuleInfo
|
||||
|
||||
struct ImportedCxxModuleGeneratorInfo
|
||||
{
|
||||
ImportedCxxModuleInfo const* ImportedInfo;
|
||||
std::string const BmiName;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user