diff --git a/testing/ecal/pubsub_test/src/pubsub_receive_test.cpp b/testing/ecal/pubsub_test/src/pubsub_receive_test.cpp index df5e9c0ef1..ce63f1576a 100644 --- a/testing/ecal/pubsub_test/src/pubsub_receive_test.cpp +++ b/testing/ecal/pubsub_test/src/pubsub_receive_test.cpp @@ -226,11 +226,11 @@ TEST(PubSub, TestSubscriberSeen) // enable data loopback eCAL::Util::EnableLoopback(true); - std::atomic subscriber_seen_at_publication_start = false; - std::atomic subscriber_seen_at_publication_end = false; + std::atomic subscriber_seen_at_publication_start(false); + std::atomic subscriber_seen_at_publication_end(false); - std::atomic do_start_publication = false; - std::atomic publication_finished = false; + std::atomic do_start_publication(false); + std::atomic publication_finished(false); // publishing thread auto publisher_thread = [&]() {