feat(CI/Codestyle); Check for double semicolons (#20996)

This commit is contained in:
Kitzunu
2024-12-21 22:19:49 +01:00
committed by GitHub
parent 08d5861a51
commit d2b88bdc1e
5 changed files with 12 additions and 4 deletions

View File

@@ -444,7 +444,7 @@ struct Runes
struct EnchantDuration
{
EnchantDuration() = default;;
EnchantDuration() = default;
EnchantDuration(Item* _item, EnchantmentSlot _slot, uint32 _leftduration) : item(_item), slot(_slot),
leftduration(_leftduration) { ASSERT(item); };

View File

@@ -38,7 +38,7 @@ void Player::_LoadCharacterSettings(PreparedQueryResult result)
{
Field* fields = result->Fetch();
std::string source = fields[0].Get<std::string>();;
std::string source = fields[0].Get<std::string>();
std::string data = fields[1].Get<std::string>();
std::vector<std::string_view> tokens = Acore::Tokenize(data, ' ', false);

View File

@@ -268,7 +268,7 @@ void WorldSession::HandleWhoOpcode(WorldPacket& recvData)
return;
wstrToLower(wpacketPlayerName);
wstrToLower(wpacketGuildName);;
wstrToLower(wpacketGuildName);
// client send in case not set max level value 100 but Acore supports 255 max level,
// update it to show GMs with characters after 100 level

View File

@@ -108,7 +108,7 @@ class InstanceSaveMgr
friend class InstanceSave;
private:
InstanceSaveMgr() = default;;
InstanceSaveMgr() = default;
~InstanceSaveMgr();
public: