Просмотр исходного кода

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 лет назад
Родитель
Сommit
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"