fix build

master
Daniel Kolesa 2017-02-16 20:51:03 +01:00
parent c2a86f1625
commit 14436d6aa0
3 changed files with 2 additions and 3 deletions

View File

@ -7,6 +7,7 @@
#include <optional>
#include <functional>
#include <type_traits>
#include <utility>
#include "cubescript_conf.hh"
@ -15,7 +16,6 @@
#include <ostd/string.hh>
#include <ostd/vector.hh>
#include <ostd/range.hh>
#include <ostd/utility.hh>
#include <ostd/io.hh>
#include <ostd/format.hh>

View File

@ -4,7 +4,6 @@
#include <type_traits>
#include <ostd/string.hh>
#include <ostd/utility.hh>
#include <ostd/unordered_map.hh>
namespace cscript {

View File

@ -1817,7 +1817,7 @@ static bool cs_run_file(
std::unique_ptr<char[]> buf;
size_t len;
ostd::FileStream f(fname, ostd::StreamMode::read);
ostd::file_stream f(fname, ostd::stream_mode::READ);
if (!f.is_open()) {
return false;
}