aboutsummaryrefslogtreecommitdiff
path: root/src/mapport.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-13 21:17:55 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-29 18:39:01 +0300
commita508f718f3e087c96a306399582a85df2e1d53ae (patch)
treee3bc35738c1489f5324fb08e65f8d6ec8a7902ab /src/mapport.cpp
parent30e44482152488a78f2c495798a75e6f553dc0c8 (diff)
refactor: Use appropriate thread constructor
Diffstat (limited to 'src/mapport.cpp')
-rw-r--r--src/mapport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapport.cpp b/src/mapport.cpp
index 315c4b525f..135efb561e 100644
--- a/src/mapport.cpp
+++ b/src/mapport.cpp
@@ -256,7 +256,7 @@ void StartThreadMapPort()
{
if (!g_mapport_thread.joinable()) {
assert(!g_mapport_interrupt);
- g_mapport_thread = std::thread(std::bind(&util::TraceThread, "mapport", &ThreadMapPort));
+ g_mapport_thread = std::thread(&util::TraceThread, "mapport", &ThreadMapPort);
}
}