mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-21 07:46:54 +00:00
Minor fixes
This commit is contained in:
1 parent
9f0b057c14
commit
fd6234bd21
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user