Skip to content

Commit

Permalink
Fix build with range-v3 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Sep 20, 2023
1 parent 135cb95 commit ab2a9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spellcheck/third_party/hunspell_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void HunspellService::readFile() {
// {{"a"}, {"β"}};
auto groupedWords = ranges::views::all(
filteredWords
) | ranges::views::group_by([](auto &a, auto &b) {
) | ranges::views::chunk_by([](auto &a, auto &b) {
return WordScript(a) == WordScript(b);
}) | ranges::views::transform([](auto &&rng) {
return rng | ranges::to_vector;
Expand Down

0 comments on commit ab2a9d1

Please sign in to comment.