aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/clone-impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/clone-impl.hh')
-rw-r--r--paludis/util/clone-impl.hh10
1 files changed, 3 insertions, 7 deletions
diff --git a/paludis/util/clone-impl.hh b/paludis/util/clone-impl.hh
index a877da678..2ec817734 100644
--- a/paludis/util/clone-impl.hh
+++ b/paludis/util/clone-impl.hh
@@ -31,9 +31,7 @@
namespace paludis
{
template <typename T_>
- Cloneable<T_>::~Cloneable()
- {
- }
+ Cloneable<T_>::~Cloneable() = default;
template<typename Base_, typename Child_>
std::shared_ptr<Base_>
@@ -42,10 +40,8 @@ namespace paludis
return std::shared_ptr<Base_>(std::make_shared<Child_>(*static_cast<const Child_ *>(this)));
}
- template<typename Base_, typename Child_>
- CloneUsingThis<Base_, Child_>::~CloneUsingThis()
- {
- }
+ template <typename Base_, typename Child_>
+ CloneUsingThis<Base_, Child_>::~CloneUsingThis() = default;
}
#endif