From cb9e8e4a5d607cb8157645c87b6a8f423b6b8eff Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Tue, 7 Jan 2020 10:57:52 +0000 Subject: Rename parameterised clone() to reopen(), as per LEWG-I guidance. --- include/llfio/v2.0/path_handle.hpp | 9 --------- 1 file changed, 9 deletions(-) (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 1e308ca7..1c5e2814 100644 --- a/include/llfio/v2.0/path_handle.hpp +++ b/include/llfio/v2.0/path_handle.hpp @@ -125,15 +125,6 @@ public: #endif return handle::close(); } - /*! Clone this handle (copy constructor is disabled to avoid accidental copying). - */ - result clone() const noexcept - { - auto *h = static_cast(this); - OUTCOME_TRY(ret, h->clone()); - auto nativeh = ret.release(); - return path_handle(nativeh); - } }; //! \brief Constructor for `path_handle` -- cgit v1.2.3