Ticket #884: mapped_file.hpp.diff
File mapped_file.hpp.diff, 1.0 KB (added by , 15 years ago) |
---|
-
mapped_file.hpp
old new 62 62 63 63 struct mapped_file_params { 64 64 explicit mapped_file_params() 65 : mode(), offset(0), length(static_cast<std::size_t>(-1)), 65 #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER) 66 : mode(std::ios_base::openmode(0)), 67 #else 68 : mode(), 69 #endif 70 offset(0), length(static_cast<std::size_t>(-1)), 66 71 new_file_size(0), hint(0) 67 72 { } 68 73 explicit mapped_file_params(const std::string& path) 69 : path(path), mode(), offset(0), 70 length(static_cast<std::size_t>(-1)), 74 : path(path), 75 #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER) 76 mode(std::ios_base::openmode(0)), 77 #else 78 mode(), 79 #endif 80 offset(0), length(static_cast<std::size_t>(-1)), 71 81 new_file_size(0), hint(0) 72 82 { } 73 83 std::string path;