diff --git a/common/main/weapon.h b/common/main/weapon.h index f0934415e..ed1fc2a55 100644 --- a/common/main/weapon.h +++ b/common/main/weapon.h @@ -354,9 +354,9 @@ class has_weapon_result { uint8_t m_result; public: - static constexpr tt::integral_constant has_weapon_flag{}; - static constexpr tt::integral_constant has_energy_flag{}; - static constexpr tt::integral_constant has_ammo_flag{}; + static constexpr auto has_weapon_flag = tt::integral_constant{}; + static constexpr auto has_energy_flag = tt::integral_constant{}; + static constexpr auto has_ammo_flag = tt::integral_constant{}; has_weapon_result() = default; constexpr has_weapon_result(uint8_t r) : m_result(r) {