diff --git a/src/entt/core/hashed_string.hpp b/src/entt/core/hashed_string.hpp index 6a6f13db7..08e97e6f8 100644 --- a/src/entt/core/hashed_string.hpp +++ b/src/entt/core/hashed_string.hpp @@ -133,6 +133,7 @@ public: template // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays) ENTT_CONSTEVAL basic_hashed_string(const value_type (&str)[N]) noexcept + // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-array-to-pointer-decay) : base_type{str} { for(; str[base_type::length]; ++base_type::length) { base_type::hash = (base_type::hash ^ static_cast(str[base_type::length])) * params::prime;