CodeCache: Turn ExecutableFileSectionInfo::FileInfo into a const reference

This commit is contained in:
Tony Wasserka committed 2025-12-22 21:20:22 +01:00
1 parent b98b377fc0
commit 2573bcb90f
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -385,7 +385,7 @@ static void WriteNewCodeMap(const FEXCore::ExecutableFileInfo& File, const std::
}
for (auto& Block : Blocks) {
OutputCodeMap.AppendBlock(FEXCore::ExecutableFileSectionInfo {const_cast<FEXCore::ExecutableFileInfo&>(File), 0}, Block);
OutputCodeMap.AppendBlock(FEXCore::ExecutableFileSectionInfo {File, 0}, Block);
}
}