diff --git a/lix/libutil/box_ptr.hh b/lix/libutil/box_ptr.hh index f7e4fd509..e2722c0bb 100644 --- a/lix/libutil/box_ptr.hh +++ b/lix/libutil/box_ptr.hh @@ -72,6 +72,11 @@ public: } box_ptr(box_ptr & other) = delete; + + std::unique_ptr take() && + { + return std::move(inner); + } }; template