From cdb742dd4b5d0d922a54836f89eaf83b0f73daa4 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 18 May 2020 09:06:48 +0300 Subject: [PATCH] Added comment. --- src/Common/COW.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Common/COW.h b/src/Common/COW.h index 2bc8e8aba00..23733a8635d 100644 --- a/src/Common/COW.h +++ b/src/Common/COW.h @@ -217,6 +217,7 @@ protected: operator const immutable_ptr & () const { return value; } operator immutable_ptr & () { return value; } + /// Get internal immutable ptr. Does not change internal use counter. immutable_ptr detach() && { return std::move(value); } operator bool() const { return value != nullptr; }