Skip to content

Commit

Permalink
Merge pull request #2454 from kuzudb/mac-compile-fix
Browse files Browse the repository at this point in the history
Fix mac compilation error
  • Loading branch information
ray6080 committed Nov 19, 2023
2 parents ae85c5b + 78a2554 commit 8f9f38e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storage/store/string_column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ void StringColumn::scanValuesToVector(Transaction* transaction, node_group_idx_t
firstOffsetToScan = offsetsToScan.front().first;
lastOffsetToScan = offsetsToScan.back().first;
} else {
const auto& [min, max] = std::ranges::minmax_element(offsetsToScan, comp);
const auto& [min, max] =
std::minmax_element(offsetsToScan.begin(), offsetsToScan.end(), comp);
firstOffsetToScan = min->first;
lastOffsetToScan = max->first;
}
Expand Down

0 comments on commit 8f9f38e

Please sign in to comment.