Skip to content

Commit

Permalink
fix an error for gcc11 (alibaba#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Mar 24, 2022
1 parent 30762ce commit 95dd332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/Lazy.bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void async_simple_Lazy_collectAll(benchmark::State& state) {

void RescheduleLazy_chain(benchmark::State& state) {
auto chain_starter = [&]() -> async_simple::coro::Lazy<int> {
co_return co_await lazy_fn<async_simple::coro::Lazy, 1000>()();
co_return co_await lazy_fn<async_simple::coro::Lazy, 948>()();
};
async_simple::executors::SimpleExecutor e(10);
for ([[maybe_unused]] const auto& _ : state)
Expand Down

0 comments on commit 95dd332

Please sign in to comment.