From b6ba7615513b0913c725e5690a4317676ad6ee03 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 3 Jul 2024 15:45:37 -0400 Subject: [PATCH] xo-expression: Borrow ctor --- include/xo/refcnt/Refcounted.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/xo/refcnt/Refcounted.hpp b/include/xo/refcnt/Refcounted.hpp index 0b62e557..33c5b377 100644 --- a/include/xo/refcnt/Refcounted.hpp +++ b/include/xo/refcnt/Refcounted.hpp @@ -257,6 +257,8 @@ namespace xo { template class Borrow { public: + Borrow() = default; + template Borrow(rp const & x) : ptr_(x.get()) {}