From 534ae977af3441daf399cf64e58ef323ceaa923d Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Mon, 1 Jun 2020 15:20:32 +0100 Subject: Convert to latest Outcome v2.2 TRY operator. --- include/llfio/v2.0/path_handle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llfio/v2.0/path_handle.hpp') 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 clone_to_path_handle() const noexcept { - OUTCOME_TRY(newh, handle::clone()); + OUTCOME_TRY(auto &&newh, handle::clone()); return path_handle(std::move(newh)); } -- cgit v1.2.3