compound_compat: Remove leftover code

It's a remnant after failed experiment. I forgot to drop it.
This commit is contained in:
Tomasz Grabiec
2015-04-30 13:24:51 +02:00
parent 6c008d825c
commit d54388e1f6

View File

@@ -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()) {