Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesomnus committed Jul 23, 2023
1 parent 7dd705b commit 7bab09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/vfs/impl/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ constexpr std::string_view Alphanumeric = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZa
[[nodiscard]] std::filesystem::path acc_paths(std::filesystem::path::const_iterator first, std::filesystem::path::const_iterator last);

template<std::invocable<> F, typename R = std::invoke_result_t<F>>
auto handle_error(F const& f, std::error_code& ec, R v = R{}) -> R {
auto handle_error(F const& f, std::error_code& ec, R v = R{}) noexcept -> R {
try {
auto rst = f();
ec.clear();
Expand Down

0 comments on commit 7bab09a

Please sign in to comment.