diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-06-23 08:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 08:54:12 +0200 |
commit | bab5fd87a34d92737e92d0850be05890a5ce8e24 (patch) | |
tree | 6c83cf8a907dc04075b52f394e25a33985dc5b41 /src/server/worldserver/Main.cpp | |
parent | 01c8d03e2ec67d4d4660e7e229274e86ba41420e (diff) |
Core/Misc: Replace Trinity::make_unique with std (#24869)
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rw-r--r-- | src/server/worldserver/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 65f30acce7a..a43663775ef 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -516,9 +516,9 @@ bool LoadRealmInfo() { realm.Id = realmListRealm->Id; realm.Build = realmListRealm->Build; - realm.ExternalAddress = Trinity::make_unique<boost::asio::ip::address>(*realmListRealm->ExternalAddress); - realm.LocalAddress = Trinity::make_unique<boost::asio::ip::address>(*realmListRealm->LocalAddress); - realm.LocalSubnetMask = Trinity::make_unique<boost::asio::ip::address>(*realmListRealm->LocalSubnetMask); + realm.ExternalAddress = std::make_unique<boost::asio::ip::address>(*realmListRealm->ExternalAddress); + realm.LocalAddress = std::make_unique<boost::asio::ip::address>(*realmListRealm->LocalAddress); + realm.LocalSubnetMask = std::make_unique<boost::asio::ip::address>(*realmListRealm->LocalSubnetMask); realm.Port = realmListRealm->Port; realm.Name = realmListRealm->Name; realm.NormalizedName = realmListRealm->NormalizedName; |