mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 10:05:40 +01:00
refactor: Use appropriate thread constructor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user