Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-04-26 20:43:44 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-04-26 20:43:44 +0300
commit757e61cff598e9ebd6a72008b427450e104fbe7f (patch)
tree099c69ec7502d83356c581515e274fe65e37d738
parent565f27555d13ce2a37346d838f32e03e1972aac1 (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.hpp2
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)
{