Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Aug 13, 2023
1 parent c49f65a commit 580f610
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
matrix:
os: [ubuntu-22.04]
compiler: [g++-12, clang++-14]
cpp_standard: [17, 20]
build_type: [Debug, Release]
cpp_standard: [20]
build_type: [debug_dev, release_dev]
runs-on: ${{matrix.os}}

steps:
Expand All @@ -22,10 +22,10 @@ jobs:
sudo ln -sf /usr/local/bin/ld /usr/bin/lld
- name: Configure CMake
run: |
cmake . -DAA_ENABLE_TESTING=ON \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_COMPILER=${{matrix.compiler}} \
-DCMAKE_CXX_STANDARD=${{matrix.cpp_standard}} \
cmake . -DKELCORO_ENABLE_TESTING=ON \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_COMPILER=${{matrix.compiler}} \
-DCMAKE_CXX_STANDARD=${{matrix.cpp_standard}} \
-B build -G "Ninja"
- name: Build
run:
Expand Down
3 changes: 2 additions & 1 deletion include/common.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <cstring> // memcpy
#include <type_traits>
#include <cstddef>
#include <optional>
Expand Down Expand Up @@ -489,7 +490,7 @@ struct elements_extractor {

template <typename U>
static channel<Yield> do_extract(channel<U>& c) {
for (auto b = co_await c.begin(); b != c.end(); co_await ++c)
for (auto b = co_await c.begin(); b != c.end(); co_await ++b)
co_yield static_cast<Yield>(*b);
}
template <typename U>
Expand Down

0 comments on commit 580f610

Please sign in to comment.