dolphin/Source
Lioncash b15f595130 Common/HttpRequest: Avoid unnecessary copies in loop in Fetch()
Previously, every entry pair within the map would be copied. The reason
for this is subtle.

A std::map's internal entry type is defined as:

std::pair<const Key, Value>

but the loop was declaring it as:

std::pair<Key, Value>

These two types aren't synonymous with one another and so the compiler
is required to always perform a copy.

Using structured bindings avoids this (as would plain auto or correcting
the explicit type), while also allowing the use of more appropriate
names compared to first and second.
2019-05-27 09:36:31 -04:00
..
Android Merge pull request #7801 from GerbilSoft/feature/Discord-PPCTitleChanged 2019-05-24 14:30:52 +02:00
Core Common/HttpRequest: Avoid unnecessary copies in loop in Fetch() 2019-05-27 09:36:31 -04:00
DSPSpy DSPSpy: Add a test for accelerator loop 2017-09-22 20:17:38 +02:00
DSPTool Update Discord rich presence when the title changes 2019-05-24 14:12:48 +02:00
PCH CMake/Windows: Add PCH support 2019-05-15 19:28:04 +02:00
UnitTests Update Discord rich presence when the title changes 2019-05-24 14:12:48 +02:00
VSProps Added FreeSurround to Externals 2019-02-13 22:52:39 -02:00
.clang-format clang-format: revert 'AfterCaseLabel' setting 2019-05-23 00:42:42 -04:00
CMakeLists.txt CMake/Windows: Add PCH support 2019-05-15 19:28:04 +02:00
dolphin-emu.sln Move Updater to WinUpdater 2019-04-10 10:46:49 +02:00