diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f0ccb7..4846293 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,10 +53,10 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh - sudo ./llvm.sh 17 - sudo apt install libc++-17-dev - echo "CC=clang-17" >> $GITHUB_ENV - echo "CXX=clang++-17" >> $GITHUB_ENV + sudo ./llvm.sh 18 + sudo apt install libc++-18-dev + echo "CC=clang-18" >> $GITHUB_ENV + echo "CXX=clang++-18" >> $GITHUB_ENV shell: bash if: matrix.platform == 'ubuntu-latest' && matrix.compiler == 'llvm' diff --git a/src/ftrees.h b/src/ftrees.h index 51ef040..0358022 100644 --- a/src/ftrees.h +++ b/src/ftrees.h @@ -141,9 +141,6 @@ class FTrees { : ftrees_(CreateFTreeArray(std::move(block), std::make_index_sequence{})) {} size_t size() const { - // TODO: llvm fold support - // return *std::ranges::fold_right_last( - // ftrees_ | std::views::transform([](const FTree& ftree) { return ftree.size(); }), std::plus<>()); return std::accumulate(ftrees_.begin(), ftrees_.end(), size_t{0}, [](auto acc, const FTree& ftree) { return acc + ftree.size(); }); } diff --git a/vcpkg b/vcpkg index 9edb1b8..a34c873 160000 --- a/vcpkg +++ b/vcpkg @@ -1 +1 @@ -Subproject commit 9edb1b8e590cc086563301d735cae4b6e732d2d2 +Subproject commit a34c873a9717a888f58dc05268dea15592c2f0ff