Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded2f48a authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar Committed by Android (Google) Code Review
Browse files

Merge "Fix type of comparison operator" into main

parents 485500f0 412673d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ bool CowReader::PrepMergeOps() {
    if (reader_flag_ == ReaderFlags::USERSPACE_MERGE) {
        std::sort(other_ops.begin(), other_ops.end());
    } else {
        std::sort(other_ops.begin(), other_ops.end(), std::greater<int>());
        std::sort(other_ops.begin(), other_ops.end(), std::greater<uint32_t>());
    }

    merge_op_blocks.insert(merge_op_blocks.end(), other_ops.begin(), other_ops.end());