Skip to content

Commit 3890c0a

Browse files
authored
fix: clang warnings (#1854)
1 parent c083f21 commit 3890c0a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dNet/WorldPackets.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ void WorldPackets::SendCreateCharacter(const SystemAddress& sysAddr, int64_t rep
8989
RakNet::BitStream data;
9090

9191
std::vector<std::unique_ptr<LDFBaseData>> ldfData;
92-
ldfData.push_back(move(make_unique<LDFData<LWOOBJID>>(u"objid", player)));
93-
ldfData.push_back(move(make_unique<LDFData<LOT>>(u"template", 1)));
94-
ldfData.push_back(move(make_unique<LDFData<string>>(u"xmlData", xmlData)));
95-
ldfData.push_back(move(make_unique<LDFData<u16string>>(u"name", username)));
96-
ldfData.push_back(move(make_unique<LDFData<int32_t>>(u"gmlevel", static_cast<int32_t>(gm))));
97-
ldfData.push_back(move(make_unique<LDFData<int32_t>>(u"chatmode", static_cast<int32_t>(gm))));
98-
ldfData.push_back(move(make_unique<LDFData<int64_t>>(u"reputation", reputation)));
99-
ldfData.push_back(move(make_unique<LDFData<int32_t>>(u"propertycloneid", cloneID)));
92+
ldfData.push_back(std::move(make_unique<LDFData<LWOOBJID>>(u"objid", player)));
93+
ldfData.push_back(std::move(make_unique<LDFData<LOT>>(u"template", 1)));
94+
ldfData.push_back(std::move(make_unique<LDFData<string>>(u"xmlData", xmlData)));
95+
ldfData.push_back(std::move(make_unique<LDFData<u16string>>(u"name", username)));
96+
ldfData.push_back(std::move(make_unique<LDFData<int32_t>>(u"gmlevel", static_cast<int32_t>(gm))));
97+
ldfData.push_back(std::move(make_unique<LDFData<int32_t>>(u"chatmode", static_cast<int32_t>(gm))));
98+
ldfData.push_back(std::move(make_unique<LDFData<int64_t>>(u"reputation", reputation)));
99+
ldfData.push_back(std::move(make_unique<LDFData<int32_t>>(u"propertycloneid", cloneID)));
100100

101101
data.Write<uint32_t>(ldfData.size());
102102
for (const auto& toSerialize : ldfData) toSerialize->WriteToPacket(data);

0 commit comments

Comments
 (0)