|
@@ -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
|