diff --git a/NetDb.cpp b/NetDb.cpp index 16bd8229..7d761e2d 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -72,7 +72,7 @@ namespace data void NetDb::WaitForReady() { - m_Ready.get_future().get(); + m_Ready.get_future().wait(); } void NetDb::Run ()