Skip to content

Commit 8b53421

Browse files
author
Rafał Hibner
committed
Init atomic
1 parent af3e758 commit 8b53421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/acero/backpressure_test.cc

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

3333
TEST(BackpressureCombiner, Basic) {
34-
std::atomic<bool> paused;
34+
std::atomic<bool> paused{false};
3535
BackpressureCombiner combiner(std::make_unique<MonitorBackpressureControl>(paused));
3636

3737
BackpressureCombiner::Source weak_source1(&combiner, false);

0 commit comments

Comments
 (0)