Skip to content

Commit 479f0f7

Browse files
committed
Replace std::map with std::unordered_map
1 parent 1a7e9cd commit 479f0f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/multiplayer_sa/CMultiplayerSA_DeviceSelection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
// This is copied from SilentPatch:
2020
// https://github.com/CookiePLMonster/SilentPatch/blob/dev/SilentPatch/FriendlyMonitorNames.cpp
21-
std::map<std::string, std::string, std::less<>> GetFriendlyMonitorNamesForDevicePaths()
21+
std::unordered_map<std::string, std::string> GetFriendlyMonitorNamesForDevicePaths()
2222
{
23-
std::map<std::string, std::string, std::less<>> monitorNames;
23+
std::unordered_map<std::string, std::string> monitorNames;
2424

2525
HMODULE user32Lib = LoadLibrary(TEXT("user32"));
2626
if (!user32Lib)

0 commit comments

Comments
 (0)