Skip to content

Commit

Permalink
try fix compilation with linux-clang-address-sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis committed Jul 8, 2024
1 parent 7840b4b commit ecc213a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silkworm/infra/concurrency/idle_strategy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ TEST_CASE("unparse wait mode", "[silkworm][infra][concurrency][idle_strategy]")
WaitMode::yielding,
WaitMode::busy_spin,
};
std::vector<absl::string_view> expected_texts{
std::vector<std::string> expected_texts{
"backoff", "blocking", "sleeping", "yielding", "busy_spin"};
for (std::size_t i{0}; i < input_wait_modes.size(); i++) {
const auto text{AbslUnparseFlag(input_wait_modes[i])};
Expand Down

0 comments on commit ecc213a

Please sign in to comment.