summaryrefslogtreecommitdiff
path: root/tools/standalone_miri/module_tree.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-05-12 12:52:46 +0800
committerJohn Hodge <tpg@mutabah.net>2018-05-12 12:52:46 +0800
commit144bd3cdcea986f907468074365dfd17893a0f0f (patch)
tree96b54201972d03623d2d1b96ea964eb3c13f8e04 /tools/standalone_miri/module_tree.cpp
parent174c4f47160dba499c84986d15180fe4307d4adc (diff)
downloadmrust-144bd3cdcea986f907468074365dfd17893a0f0f.tar.gz
Standalone Miri - Linux build support
Diffstat (limited to 'tools/standalone_miri/module_tree.cpp')
-rw-r--r--tools/standalone_miri/module_tree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/standalone_miri/module_tree.cpp b/tools/standalone_miri/module_tree.cpp
index 2513140a..d62695d1 100644
--- a/tools/standalone_miri/module_tree.cpp
+++ b/tools/standalone_miri/module_tree.cpp
@@ -5,6 +5,7 @@
#include "lex.hpp"
#include "value.hpp"
#include <iostream>
+#include <algorithm> // std::find
#include "debug.hpp"
ModuleTree::ModuleTree()
@@ -1328,4 +1329,4 @@ Value* ModuleTree::get_static_opt(const ::HIR::Path& p)
return nullptr;
}
return &it->second;
-} \ No newline at end of file
+}