From 3890c0a86cf39ae841a349673b0d73219a3fe499 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Fri, 1 Aug 2025 13:28:09 -0700 Subject: [PATCH] fix: clang warnings (#1854) --- dNet/WorldPackets.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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);