Pārlūkot izejas kodu

Add missing headers in FixedVector and Span

LuoZhihao 1 mēnesi atpakaļ
vecāks
revīzija
21e2bac382
2 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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
 
+#include "core/templates/span.h"
+
 /**
  * A high performance Vector of fixed capacity.
  * 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
 
+#include "core/error/error_macros.h"
 #include "core/typedefs.h"
 
 // Equivalent of std::span.