summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/comparable_shared_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/comparable_shared_ptr.h')
-rw-r--r--libs/ardour/ardour/comparable_shared_ptr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/comparable_shared_ptr.h b/libs/ardour/ardour/comparable_shared_ptr.h
index 37c1224a54..32cdfc21a2 100644
--- a/libs/ardour/ardour/comparable_shared_ptr.h
+++ b/libs/ardour/ardour/comparable_shared_ptr.h
@@ -42,6 +42,8 @@ class /*LIBARDOUR_API*/ ComparableSharedPtr : public boost::shared_ptr<T>
ComparableSharedPtr (ComparableSharedPtr const & r) : boost::shared_ptr<T> (r) {}
+ ComparableSharedPtr& operator=(const ComparableSharedPtr& r) { *this = r; return *this; }
+
template<class Y>
ComparableSharedPtr(ComparableSharedPtr<Y> const & r) : boost::shared_ptr<T> (r) {}