Merge pull request #245 from aleden/develop

Fix UBSan runtime error (load of 'boost::interprocess::mode_t')
This commit is contained in:
Ion Gaztañaga
2025-08-25 23:56:48 +02:00
committed by GitHub

View File

@@ -90,7 +90,8 @@ class file_wrapper
//!After the call, "moved" does not represent any file.
//!Does not throw
file_wrapper(BOOST_RV_REF(file_wrapper) moved)
: m_handle(file_handle_t(ipcdetail::invalid_file()))
: m_handle(file_handle_t(ipcdetail::invalid_file()))
, m_mode(read_only)
{ this->swap(moved); }
//!Moves the ownership of "moved"'s file to *this.