mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Replace Trinity::make_unique with std (#24869)
This commit is contained in:
committed by
GitHub
parent
01c8d03e2e
commit
bab5fd87a3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user