Skip to content

Commit 68d9d47

Browse files
committed
more fixes
1 parent 4f1283f commit 68d9d47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/server/tiering/entry_map.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ struct Eq {
2424
using is_transparent = void;
2525
template <typename S1, typename S2>
2626
bool operator()(const std::pair<DbIndex, S1>& l, const std::pair<DbIndex, S2>& r) const {
27-
return l == r;
27+
const auto& [i1, s1] = l;
28+
const auto& [i2, s2] = r;
29+
return i1 == i2 && s1 == s2;
2830
}
2931
};
3032
} // namespace detail

0 commit comments

Comments
 (0)