mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 17:13:47 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -33,7 +33,7 @@ namespace boost::asio::ip
|
||||
typedef basic_endpoint<tcp> tcp_endpoint;
|
||||
}
|
||||
|
||||
namespace acore::Asio
|
||||
namespace Acore::Asio
|
||||
{
|
||||
class DeadlineTimer;
|
||||
class IoContext;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#define DeadlineTimerBase boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> BasicDeadlineTimerThirdTemplateArg>
|
||||
|
||||
namespace acore::Asio
|
||||
namespace Acore::Asio
|
||||
{
|
||||
class DeadlineTimer : public DeadlineTimerBase
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define IoContextBase io_service
|
||||
#endif
|
||||
|
||||
namespace acore::Asio
|
||||
namespace Acore::Asio
|
||||
{
|
||||
class IoContext
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "Define.h"
|
||||
#include <boost/asio/ip/address.hpp>
|
||||
|
||||
namespace acore::Net
|
||||
namespace Acore::Net
|
||||
{
|
||||
#if BOOST_VERSION >= 106600
|
||||
using boost::asio::ip::make_address;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <boost/asio/ip/network_v6.hpp>
|
||||
#endif
|
||||
|
||||
namespace acore::Net
|
||||
namespace Acore::Net
|
||||
{
|
||||
inline bool IsInNetwork(boost::asio::ip::address_v4 const& networkAddress, boost::asio::ip::address_v4 const& mask, boost::asio::ip::address_v4 const& clientAddress)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <boost/asio/ip/tcp.hpp>
|
||||
#include <string>
|
||||
|
||||
namespace acore::Asio
|
||||
namespace Acore::Asio
|
||||
{
|
||||
/**
|
||||
Hack to make it possible to forward declare resolver (one of its template arguments is a typedef to something super long and using nested classes)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <boost/asio/bind_executor.hpp>
|
||||
#endif
|
||||
|
||||
namespace acore::Asio
|
||||
namespace Acore::Asio
|
||||
{
|
||||
/**
|
||||
Hack to make it possible to forward declare strand (which is a inner class)
|
||||
|
||||
Reference in New Issue
Block a user