Browse Source

meta: linter directive on is_meta_pointer_like

Michele Caini 1 year ago
parent
commit
2b07fae839
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/entt/meta/pointer.hpp

+ 1 - 0
src/entt/meta/pointer.hpp

@@ -23,6 +23,7 @@ struct is_meta_pointer_like<Type *>
  * @tparam N Number of elements of the array.
  * @tparam N Number of elements of the array.
  */
  */
 template<typename Type, std::size_t N>
 template<typename Type, std::size_t N>
+// NOLINTNEXTLINE(modernize-avoid-c-arrays)
 struct is_meta_pointer_like<Type (*)[N]>
 struct is_meta_pointer_like<Type (*)[N]>
     : std::false_type {};
     : std::false_type {};