diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-10-17 21:23:18 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-10-17 21:23:18 +0300 |
commit | fd12a60d26c80d93185ff0e0da1efa4ddbbf3863 (patch) | |
tree | cd4f6676380acf8f5d394494e6b1def7e243e8a8 /include/llfio/v2.0/symlink_handle.hpp | |
parent | bc1a0df70b896bc5b1852e8281aced96596b27af (diff) |
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.
Diffstat (limited to 'include/llfio/v2.0/symlink_handle.hpp')
-rw-r--r-- | include/llfio/v2.0/symlink_handle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } } |