Minor fixes

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 9f0b057c14
commit fd6234bd21
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ std::string ThreadName(bool DebugModeOverride) {
return "";
}
void RegisterThread(const std::string str) {
void RegisterThread(const std::string& str) {
auto Lock = std::unique_lock(ThreadNameMapMutex);
threadNameMap[std::this_thread::get_id()] = str;
}