فهرست منبع

type_traits: suppress warnings on blind operations

Michele Caini 1 سال پیش
والد
کامیت
c38f1349fc
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/entt/core/type_traits.hpp

+ 1 - 0
src/entt/core/type_traits.hpp

@@ -345,6 +345,7 @@ struct type_list_transform;
 template<typename... Type, template<typename...> class Op>
 template<typename... Type, template<typename...> class Op>
 struct type_list_transform<type_list<Type...>, Op> {
 struct type_list_transform<type_list<Type...>, Op> {
     /*! @brief Resulting type list after applying the transform function. */
     /*! @brief Resulting type list after applying the transform function. */
+    // NOLINTNEXTLINE(modernize-type-traits)
     using type = type_list<typename Op<Type>::type...>;
     using type = type_list<typename Op<Type>::type...>;
 };
 };