diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-12-03 15:05:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-12-03 15:05:27 +0200 |
commit | 5477c9e8aaa83e619a56150c32a1ff9faf9e86e7 (patch) | |
tree | af642a866f3e84b4c1d475f5d915f325106cbb4b | |
parent | 747574796a066cc0258b643f556c34893153dbc1 (diff) |
Remove unnecessary delete/default declarations
-rw-r--r-- | build2/target-key.hxx | 11 |
1 files changed, 0 insertions, 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 <typename T> bool is_a () const {return type->is_a<T> ();} 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 |