diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-04-26 20:43:44 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-04-26 20:43:44 +0300 |
commit | 757e61cff598e9ebd6a72008b427450e104fbe7f (patch) | |
tree | 099c69ec7502d83356c581515e274fe65e37d738 | |
parent | 565f27555d13ce2a37346d838f32e03e1972aac1 (diff) |
Fix process termination in mapped_file_handle caused by throw of exception in a noexcept function.
-rw-r--r-- | include/llfio/v2.0/mapped_file_handle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/mapped_file_handle.hpp b/include/llfio/v2.0/mapped_file_handle.hpp index 17b7a40f..ce92acab 100644 --- a/include/llfio/v2.0/mapped_file_handle.hpp +++ b/include/llfio/v2.0/mapped_file_handle.hpp @@ -287,7 +287,7 @@ public: { } //! Explicit conversion from file_handle permitted, this overload also attempts to map the file - explicit mapped_file_handle(file_handle &&o, size_type reservation, section_handle::flag sflags) noexcept + explicit mapped_file_handle(file_handle &&o, size_type reservation, section_handle::flag sflags) : file_handle(std::move(o)) , _sh(sflags) { |