diff options
Diffstat (limited to 'boost/wave/cpp_iteration_context.hpp')
-rw-r--r-- | boost/wave/cpp_iteration_context.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/wave/cpp_iteration_context.hpp b/boost/wave/cpp_iteration_context.hpp index da83ea5db2..4dd4be4837 100644 --- a/boost/wave/cpp_iteration_context.hpp +++ b/boost/wave/cpp_iteration_context.hpp @@ -13,7 +13,7 @@ #define CPP_ITERATION_CONTEXT_HPP_00312288_9DDB_4668_AFE5_25D3994FD095_INCLUDED #include <iterator> -#include <fstream> +#include <boost/filesystem/fstream.hpp> #if defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS) #include <sstream> #endif @@ -64,7 +64,7 @@ namespace iteration_context_policies { typedef typename IterContextT::iterator_type iterator_type; // read in the file - std::ifstream instream(iter_ctx.filename.c_str()); + boost::filesystem::ifstream instream(iter_ctx.filename.c_str()); if (!instream.is_open()) { BOOST_WAVE_THROW_CTX(iter_ctx.ctx, preprocess_exception, bad_include_file, iter_ctx.filename.c_str(), act_pos); |