(clang 15) compiler nit

This commit is contained in:
Roland Conybeare 2025-05-08 23:40:30 -05:00
commit bcd86e5324

View file

@ -310,6 +310,11 @@ namespace xo {
return *this; return *this;
} }
Borrow& operator=(const Borrow& x) {
ptr_ = x.get();
return *this;
}
private: private:
T * ptr_ = nullptr; T * ptr_ = nullptr;
}; /*Borrow*/ }; /*Borrow*/