mutation_partition: Remove unused operator==()
Signed-off-by: Duarte Nunes <duarte@scylladb.com> Message-Id: <20180115013546.67260-1-duarte@scylladb.com>
This commit is contained in:
@@ -1389,20 +1389,6 @@ auto row::with_both_ranges(const row& other, Func&& func) const {
|
||||
}
|
||||
}
|
||||
|
||||
bool row::operator==(const row& other) const {
|
||||
if (size() != other.size()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto cells_equal = [] (std::pair<column_id, const atomic_cell_or_collection&> c1,
|
||||
std::pair<column_id, const atomic_cell_or_collection&> c2) {
|
||||
return c1.first == c2.first && c1.second == c2.second;
|
||||
};
|
||||
return with_both_ranges(other, [&] (auto r1, auto r2) {
|
||||
return boost::equal(r1, r2, cells_equal);
|
||||
});
|
||||
}
|
||||
|
||||
bool row::equal(column_kind kind, const schema& this_schema, const row& other, const schema& other_schema) const {
|
||||
if (size() != other.size()) {
|
||||
return false;
|
||||
|
||||
@@ -268,10 +268,6 @@ public:
|
||||
|
||||
row difference(const schema&, column_kind, const row& other) const;
|
||||
|
||||
// Assumes the other row has the same schema
|
||||
// Consistent with feed_hash()
|
||||
bool operator==(const row&) const;
|
||||
|
||||
bool equal(column_kind kind, const schema& this_schema, const row& other, const schema& other_schema) const;
|
||||
|
||||
size_t external_memory_usage() const;
|
||||
|
||||
Reference in New Issue
Block a user