refactor(Core): apply clang-tidy modernize-* (#9975)

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Francesco Borzì
2022-01-17 14:35:07 +01:00
committed by GitHub
parent fe4899202d
commit 9dc88def35
71 changed files with 533 additions and 534 deletions
@@ -48,17 +48,17 @@ namespace lfg
void DecreaseKicksLeft();
// General
LfgState GetState() const;
LfgState GetOldState() const;
LfgGuidSet const& GetPlayers() const;
uint8 GetPlayerCount() const;
ObjectGuid GetLeader() const;
[[nodiscard]] LfgState GetState() const;
[[nodiscard]] LfgState GetOldState() const;
[[nodiscard]] LfgGuidSet const& GetPlayers() const;
[[nodiscard]] uint8 GetPlayerCount() const;
[[nodiscard]] ObjectGuid GetLeader() const;
// Dungeon
uint32 GetDungeon(bool asId = true) const;
[[nodiscard]] uint32 GetDungeon(bool asId = true) const;
// VoteKick
uint8 GetKicksLeft() const;
[[nodiscard]] uint8 GetKicksLeft() const;
private:
// General