vstd::unique -> std::unique

This commit is contained in:
Ivan Savenko committed 2022-12-07 23:36:20 +02:00
1 parent 4d494b0941
commit facf77b3ae
48 files changed
+91 -122

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ void LobbyClientDisconnected::applyOnServerAfterAnnounce(CVCMIServer * srv)
}
else if(c == srv->hostClient)
{
auto ph = vstd::make_unique<LobbyChangeHost>();
auto ph = std::make_unique<LobbyChangeHost>();
auto newHost = *RandomGeneratorUtil::nextItem(srv->connections, CRandomGenerator::getDefault());
ph->newHostConnectionId = newHost->connectionID;
srv->addToAnnounceQueue(std::move(ph));