diff --git a/dNet/WorldPackets.cpp b/dNet/WorldPackets.cpp index 746c7fc9..dfc92f55 100644 --- a/dNet/WorldPackets.cpp +++ b/dNet/WorldPackets.cpp @@ -89,14 +89,14 @@ void WorldPackets::SendCreateCharacter(const SystemAddress& sysAddr, int64_t rep RakNet::BitStream data; std::vector> ldfData; - ldfData.push_back(move(make_unique>(u"objid", player))); - ldfData.push_back(move(make_unique>(u"template", 1))); - ldfData.push_back(move(make_unique>(u"xmlData", xmlData))); - ldfData.push_back(move(make_unique>(u"name", username))); - ldfData.push_back(move(make_unique>(u"gmlevel", static_cast(gm)))); - ldfData.push_back(move(make_unique>(u"chatmode", static_cast(gm)))); - ldfData.push_back(move(make_unique>(u"reputation", reputation))); - ldfData.push_back(move(make_unique>(u"propertycloneid", cloneID))); + ldfData.push_back(std::move(make_unique>(u"objid", player))); + ldfData.push_back(std::move(make_unique>(u"template", 1))); + ldfData.push_back(std::move(make_unique>(u"xmlData", xmlData))); + ldfData.push_back(std::move(make_unique>(u"name", username))); + ldfData.push_back(std::move(make_unique>(u"gmlevel", static_cast(gm)))); + ldfData.push_back(std::move(make_unique>(u"chatmode", static_cast(gm)))); + ldfData.push_back(std::move(make_unique>(u"reputation", reputation))); + ldfData.push_back(std::move(make_unique>(u"propertycloneid", cloneID))); data.Write(ldfData.size()); for (const auto& toSerialize : ldfData) toSerialize->WriteToPacket(data);