Skip to content

Commit

Permalink
Fix implicit conversion error on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
DemetrisChr committed Jun 29, 2023
1 parent 9394a00 commit 94b8d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/range_scan_orchestrator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ class range_scan_orchestrator_impl
std::mt19937_64 gen(rd());
std::uniform_int_distribution<std::size_t> dis(0, stream_count_per_node_.size() - 1);
auto it = stream_count_per_node_.begin();
std::advance(it, dis(gen));
std::advance(it, static_cast<decltype(stream_count_per_node_)::difference_type>(dis(gen)));
least_busy_node = it->first;

// If any other node has fewer streams running use that
Expand Down

0 comments on commit 94b8d0c

Please sign in to comment.