revert ifndef to ifdef

master
Substitute 2 years ago
parent b73591bacf
commit 5b0fae4589
  1. 2
      project/server.h

@ -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();

Loading…
Cancel
Save