refactor(Core): replace ACE atomic types with standard C++ (#3421)

* Update AuctionHouseHandler.cpp

* refactor(atomic-type): replace ACE atomic types

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
This commit is contained in:
Stefano Borzì
2020-09-08 10:41:01 +02:00
committed by GitHub
parent b93ed8740a
commit 4a9476bbfd
5 changed files with 11 additions and 9 deletions

View File

@@ -24,6 +24,7 @@
#include <ace/os_include/sys/os_types.h>
#include <ace/os_include/sys/os_socket.h>
#include <atomic>
#include <set>
#include "Log.h"
@@ -92,7 +93,7 @@ class ReactorRunnable : protected ACE_Task_Base
long Connections()
{
return static_cast<long> (m_Connections);
return m_Connections;
}
int AddSocket (WorldSocket* sock)