diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-06-01 17:20:32 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-06-01 17:20:32 +0300 |
commit | 534ae977af3441daf399cf64e58ef323ceaa923d (patch) | |
tree | 140a96def457383bb109ea6efe64d1e77f4c79f5 /include/llfio/v2.0/path_handle.hpp | |
parent | 0aa8b60b7578762f6ec3126e11be0ec82003f0af (diff) |
Convert to latest Outcome v2.2 TRY operator.
Diffstat (limited to 'include/llfio/v2.0/path_handle.hpp')
-rw-r--r-- | include/llfio/v2.0/path_handle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/path_handle.hpp b/include/llfio/v2.0/path_handle.hpp index 8e2ee7e2..816caec3 100644 --- a/include/llfio/v2.0/path_handle.hpp +++ b/include/llfio/v2.0/path_handle.hpp @@ -99,7 +99,7 @@ public: //! A `path_handle` returning edition of `handle::clone()` result<path_handle> clone_to_path_handle() const noexcept { - OUTCOME_TRY(newh, handle::clone()); + OUTCOME_TRY(auto &&newh, handle::clone()); return path_handle(std::move(newh)); } |