From b196ce821750becc08bd2729f7197a8a5f2d4498 Mon Sep 17 00:00:00 2001 From: Alex Parisi Date: Wed, 20 May 2026 09:57:32 -0400 Subject: [PATCH] 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 --- src/openrct2/ReplayManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/ReplayManager.cpp b/src/openrct2/ReplayManager.cpp index 7bc048efb0..9f749bb6e5 100644 --- a/src/openrct2/ReplayManager.cpp +++ b/src/openrct2/ReplayManager.cpp @@ -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.