From d54388e1f6cd2e830e6b3b190ecbaafc8a0f8fc8 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Thu, 30 Apr 2015 13:24:51 +0200 Subject: [PATCH] compound_compat: Remove leftover code It's a remnant after failed experiment. I forgot to drop it. --- compound_compat.hh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/compound_compat.hh b/compound_compat.hh index 94d187b9c7..702ac333cc 100644 --- a/compound_compat.hh +++ b/compound_compat.hh @@ -115,16 +115,6 @@ public: : _type(type) { } - tri_comparator(tri_comparator&& other) - : _type(other._type) - { } - - tri_comparator& operator=(tri_comparator&& other) { - this->~tri_comparator(); - new (this) tri_comparator(std::move(other)); - return *this; - } - // @k1 and @k2 must be serialized using @type, which was passed to the constructor. int operator()(bytes_view k1, bytes_view k2) const { if (_type.is_singular()) {