We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3d2325 + 5443911 commit 45f1341Copy full SHA for 45f1341
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