summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-04 15:20:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-03-04 15:20:47 (GMT)
commit37ddb04738744b4bf513dbca8ee25db74240c1a6 (patch)
tree0aad2f7939b5ebb761999a5627a92ec1b41e0182 /Source
parent4c0ea43c0951829443a05562a10fc23f12ea982b (diff)
parent844f054fe058977380bba1c29d4546c1357a718d (diff)
downloadCMake-37ddb04738744b4bf513dbca8ee25db74240c1a6.zip
CMake-37ddb04738744b4bf513dbca8ee25db74240c1a6.tar.gz
CMake-37ddb04738744b4bf513dbca8ee25db74240c1a6.tar.bz2
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
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;
};