From f3cd6382b0908bbbd87d7c70dfea26ba77b63e22 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 15 Dec 2024 02:57:07 +0000 Subject: [PATCH] Code format - (Clang-format) --- src/creatures/players/wheel/player_wheel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/creatures/players/wheel/player_wheel.cpp b/src/creatures/players/wheel/player_wheel.cpp index 1882d5a1a4c..fa2ad87c35c 100644 --- a/src/creatures/players/wheel/player_wheel.cpp +++ b/src/creatures/players/wheel/player_wheel.cpp @@ -967,7 +967,7 @@ bool PlayerWheel::handleBeamMasteryCooldown(const std::shared_ptr &playe void PlayerWheel::addPromotionScrolls(NetworkMessage &msg) const { msg.add(m_unlockedScrolls.size()); - for (const auto& [itemId, name, extraPoints] : m_unlockedScrolls) { + for (const auto &[itemId, name, extraPoints] : m_unlockedScrolls) { msg.add(itemId); } } @@ -1018,7 +1018,7 @@ std::vector PlayerWheel::getActiveGems() const { std::vector activeGems; for (const auto &affinity : magic_enum::enum_values()) { const auto &gem = m_activeGems[static_cast(affinity)]; - + if (!gem) { continue; } @@ -1644,7 +1644,7 @@ void PlayerWheel::loadActiveGems() { continue; } - auto it = std::ranges::find_if(m_revealedGems, [&uuid](const auto& gem) { + auto it = std::ranges::find_if(m_revealedGems, [&uuid](const auto &gem) { return gem.uuid == uuid; });