Explorar o código

test: cleanup

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
76516e0320
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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
 #ifndef ENTT_COMMON_POINTER_STABLE_HPP
 #define ENTT_COMMON_POINTER_STABLE_HPP
 #define ENTT_COMMON_POINTER_STABLE_HPP
 
 
-#include <type_traits>
-
 namespace test {
 namespace test {
 
 
 struct pointer_stable {
 struct pointer_stable {
@@ -18,9 +16,6 @@ inline bool operator<(const pointer_stable &lhs, const pointer_stable &rhs) {
     return lhs.value < rhs.value;
     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
 } // namespace test
 
 
 #endif
 #endif