Skip to content

Commit

Permalink
Fix process termination in mapped_file_handle caused by throw of exce…
Browse files Browse the repository at this point in the history
…ption in a noexcept function.
  • Loading branch information
ned14 committed Apr 26, 2021
1 parent 565f275 commit 757e61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llfio/v2.0/mapped_file_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class LLFIO_DECL mapped_file_handle : public file_handle
{
}
//! 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)
{
Expand Down

0 comments on commit 757e61c

Please sign in to comment.