Browse Source

test: add missing include

skypjack 1 tháng trước cách đây
mục cha
commit
1f41b86665
2 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 1 0
      test/common/aggregate.h
  2. 2 0
      test/common/pointer_stable.h

+ 1 - 0
test/common/aggregate.h

@@ -1,6 +1,7 @@
 #ifndef ENTT_COMMON_AGGREGATE_H
 #define ENTT_COMMON_AGGREGATE_H
 
+#include <compare>
 #include <type_traits>
 
 namespace test {

+ 2 - 0
test/common/pointer_stable.h

@@ -1,6 +1,8 @@
 #ifndef ENTT_COMMON_POINTER_STABLE_H
 #define ENTT_COMMON_POINTER_STABLE_H
 
+#include <compare>
+
 namespace test {
 
 struct pointer_stable {