From fd12a60d26c80d93185ff0e0da1efa4ddbbf3863 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 17 Oct 2018 19:23:18 +0100 Subject: Lots of changes to support latest WG21 SG14 status code, as the erased code is now move-only, which in turn requires the async i/o completion handlers to all use rvalue refs instead of lvalue refs. This helped find and fix a fair few inefficient corner cases along the way, which is great. --- include/llfio/v2.0/symlink_handle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llfio/v2.0/symlink_handle.hpp') diff --git a/include/llfio/v2.0/symlink_handle.hpp b/include/llfio/v2.0/symlink_handle.hpp index 54543d89..8be1ad3d 100644 --- a/include/llfio/v2.0/symlink_handle.hpp +++ b/include/llfio/v2.0/symlink_handle.hpp @@ -348,7 +348,7 @@ public: // File may have already been deleted, if so ignore if(ret.error() != errc::no_such_file_or_directory) { - return ret.error(); + return std::move(ret).error(); } } } -- cgit v1.2.3