Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-01-07 13:57:52 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-01-07 13:57:52 +0300
commitcb9e8e4a5d607cb8157645c87b6a8f423b6b8eff (patch)
treefe293a739a61fd73aedb8ea51dd0c80c4e052104 /include/llfio/v2.0/path_handle.hpp
parentd80ae1703bef20545a29a134575b9ac723e6d971 (diff)
Rename parameterised clone() to reopen(), as per LEWG-I guidance.
Diffstat (limited to 'include/llfio/v2.0/path_handle.hpp')
-rw-r--r--include/llfio/v2.0/path_handle.hpp9
1 files changed, 0 insertions, 9 deletions
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<path_handle> clone() const noexcept
- {
- auto *h = static_cast<const handle *>(this);
- OUTCOME_TRY(ret, h->clone());
- auto nativeh = ret.release();
- return path_handle(nativeh);
- }
};
//! \brief Constructor for `path_handle`