We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b11c6a1 + e5a14d1 commit 5443911Copy full SHA for 5443911
include/boost/interprocess/detail/file_wrapper.hpp
@@ -90,7 +90,8 @@ class file_wrapper
90
//!After the call, "moved" does not represent any file.
91
//!Does not throw
92
file_wrapper(BOOST_RV_REF(file_wrapper) moved)
93
- : m_handle(file_handle_t(ipcdetail::invalid_file()))
+ : m_handle(file_handle_t(ipcdetail::invalid_file()))
94
+ , m_mode(read_only)
95
{ this->swap(moved); }
96
97
//!Moves the ownership of "moved"'s file to *this.
0 commit comments