Michele Caini 2 лет назад
Родитель
Сommit
76516e0320
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      test/entt/common/pointer_stable.h

+ 0 - 5
test/entt/common/pointer_stable.h

@@ -1,8 +1,6 @@
 #ifndef ENTT_COMMON_POINTER_STABLE_HPP
 #define ENTT_COMMON_POINTER_STABLE_HPP
 
-#include <type_traits>
-
 namespace test {
 
 struct pointer_stable {
@@ -18,9 +16,6 @@ inline bool operator<(const pointer_stable &lhs, const pointer_stable &rhs) {
     return lhs.value < rhs.value;
 }
 
-// ensure that we've at least an aggregate type to test here
-static_assert(std::is_aggregate_v<test::pointer_stable>, "Not an aggregate type");
-
 } // namespace test
 
 #endif