Quellcode durchsuchen

Fix missing include in element.h (#2506)

Without this, some compile setups can get a missing symbol for llvm::raw_ostream; this is relying on ostream.h through other code paths at present, so should be explicit about it.
Jon Ross-Perkins vor 3 Jahren
Ursprung
Commit
92e6e5f6f5
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      explorer/ast/element.h

+ 1 - 0
explorer/ast/element.h

@@ -9,6 +9,7 @@
 #include <string>
 #include <string>
 #include <string_view>
 #include <string_view>
 
 
+#include "common/ostream.h"
 #include "explorer/ast/ast_rtti.h"
 #include "explorer/ast/ast_rtti.h"
 #include "explorer/common/nonnull.h"
 #include "explorer/common/nonnull.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/ADT/PointerUnion.h"