mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 13:00:41 +02:00
CodeCache: Turn ExecutableFileSectionInfo::FileInfo into a const reference
This commit is contained in:
1 parent
b98b377fc0
commit
2573bcb90f
3 files changed
+6
-4
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user