Remove redundant pair in ReplayManager::AddChecksum (#26580)

`emplace_back` already forwards to the `std::pair` constructor, so there's no need to construct an intermediate here
This commit is contained in:
Alex Parisi authored and GitHub committed 2026-05-20 15:57:32 +02:00
1 parent f6cbe956f0
commit b196ce8217
1 file changed
+1 -1
+1 -1
View File
@@ -172,7 +172,7 @@ namespace OpenRCT2
void AddChecksum(uint32_t tick, EntitiesChecksum&& checksum)
{
_currentRecording->checksums.emplace_back(std::make_pair(tick, std::move(checksum)));
_currentRecording->checksums.emplace_back(tick, std::move(checksum));
}
// Function runs each Tick.