forked from rosebudai/OpenRCT2-Web
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:
1 parent
f6cbe956f0
commit
b196ce8217
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user