From bf2b64d3f76e92b4669c732f59dd4a27e16faff8 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Fri, 4 Sep 2015 16:56:45 +0200 Subject: [PATCH] mutation_partition: row: Fix operator==() Spotted by clion inspections. --- mutation_partition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutation_partition.cc b/mutation_partition.cc index df6b16df0e..ce8bcdc11f 100644 --- a/mutation_partition.cc +++ b/mutation_partition.cc @@ -709,7 +709,7 @@ bool row::operator==(const row& other) const { } auto cells_equal = [] (std::pair c1, std::pair c2) { - return c1.first == c2.first && c2.second == c2.second; + return c1.first == c2.first && c1.second == c2.second; }; if (_type == storage_type::vector) { if (other._type == storage_type::vector) {