aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/active_object_ptr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/active_object_ptr.hh')
-rw-r--r--paludis/util/active_object_ptr.hh10
1 files changed, 2 insertions, 8 deletions
diff --git a/paludis/util/active_object_ptr.hh b/paludis/util/active_object_ptr.hh
index 69527ac84..ced3f097a 100644
--- a/paludis/util/active_object_ptr.hh
+++ b/paludis/util/active_object_ptr.hh
@@ -61,15 +61,9 @@ namespace paludis
{
}
- ActiveObjectPtr(const ActiveObjectPtr & other) :
- _ptr(other._ptr),
- _mutex(other._mutex)
- {
- }
+ ActiveObjectPtr(const ActiveObjectPtr & other) = default;
- ~ActiveObjectPtr()
- {
- }
+ ~ActiveObjectPtr() = default;
ActiveObjectPtr &
operator= (const ActiveObjectPtr & other)