瀏覽代碼

test: add missing include

skypjack 1 月之前
父節點
當前提交
1f41b86665
共有 2 個文件被更改,包括 3 次插入0 次删除
  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 {