diff options
Diffstat (limited to 'src/libutil/ref.hh')
-rw-r--r-- | src/libutil/ref.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/ref.hh b/src/libutil/ref.hh index 5d0c3696d..03aa64273 100644 --- a/src/libutil/ref.hh +++ b/src/libutil/ref.hh @@ -77,6 +77,8 @@ public: return ref<T2>((std::shared_ptr<T2>) p); } + ref<T> & operator=(ref<T> const & rhs) = default; + bool operator == (const ref<T> & other) const { return p == other.p; |