소스 검색

Add missing headers in FixedVector and Span

LuoZhihao 1 개월 전
부모
커밋
21e2bac382
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/templates/fixed_vector.h
  2. 1 0
      core/templates/span.h

+ 2 - 0
core/templates/fixed_vector.h

@@ -30,6 +30,8 @@
 
 
 #pragma once
 #pragma once
 
 
+#include "core/templates/span.h"
+
 /**
 /**
  * A high performance Vector of fixed capacity.
  * A high performance Vector of fixed capacity.
  * Especially useful if you need to create an array on the stack, to
  * Especially useful if you need to create an array on the stack, to

+ 1 - 0
core/templates/span.h

@@ -30,6 +30,7 @@
 
 
 #pragma once
 #pragma once
 
 
+#include "core/error/error_macros.h"
 #include "core/typedefs.h"
 #include "core/typedefs.h"
 
 
 // Equivalent of std::span.
 // Equivalent of std::span.