revert ifndef to ifdef

This commit is contained in:
Substitute 2021-02-15 15:07:20 -05:00
parent b73591bacf
commit 5b0fae4589

View File

@ -12,7 +12,7 @@ class server : networked
{
auto client = networked(accept(socket, nullptr, nullptr));
client_connected.execute(client);
#ifndef THREADED
#ifdef THREADED
std::thread(&server::accept_client_message, this, client).detach();
#else
std::thread(&server::accept_client_message, this, client).join();