Преглед изворни кода

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 пре 3 година
родитељ
комит
92e6e5f6f5
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      explorer/ast/element.h

+ 1 - 0
explorer/ast/element.h

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