Skip to content

Commit 653b7eb

Browse files
author
Rafał Hibner
committed
Init atomic
1 parent 785ebb6 commit 653b7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/util/async_generator_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ class MonitorBackpressureControl : public acero::BackpressureControl {
19721972
};
19731973

19741974
TEST(TestAsyncUtil, PushGeneratorBackpressure) {
1975-
std::atomic<bool> paused;
1975+
std::atomic<bool> paused{false};
19761976
ASSERT_OK_AND_ASSIGN(auto handler,
19771977
acero::BackpressureHandler::Make(
19781978
4, 8, std::make_unique<MonitorBackpressureControl>(paused)));

0 commit comments

Comments
 (0)