From 5477c9e8aaa83e619a56150c32a1ff9faf9e86e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Dec 2018 15:05:27 +0200 Subject: Remove unnecessary delete/default declarations --- build2/target-key.hxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build2/target-key.hxx b/build2/target-key.hxx index 271a003..e5be308 100644 --- a/build2/target-key.hxx +++ b/build2/target-key.hxx @@ -31,17 +31,6 @@ namespace build2 template bool is_a () const {return type->is_a ();} bool is_a (const target_type& tt) const {return type->is_a (tt);} - - // The above references have to track the original objects so we cannot - // have assignment. - // - // @@ We could use references for all members, not just ext. - // - target_key (target_key&&) = default; - target_key (const target_key&) = default; - - target_key& operator= (target_key&&) = delete; - target_key& operator= (const target_key&) = delete; }; inline bool -- cgit v1.1