mutation_partition: row: Fix operator==()

Spotted by clion inspections.
This commit is contained in:
Tomasz Grabiec
2015-09-04 16:56:45 +02:00
parent ba35788817
commit bf2b64d3f7

View File

@@ -709,7 +709,7 @@ bool row::operator==(const row& other) const {
}
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 && c2.second == c2.second;
return c1.first == c2.first && c1.second == c2.second;
};
if (_type == storage_type::vector) {
if (other._type == storage_type::vector) {