From 426b77bcd97a4e660fd2a42f172c804537b8945e Mon Sep 17 00:00:00 2001 From: Jackie Kay Date: Tue, 3 Nov 2015 14:28:28 -0800 Subject: [PATCH] fix deleted invocation of copy constructor on Linux --- rclcpp/include/rclcpp/utilities.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/include/rclcpp/utilities.hpp b/rclcpp/include/rclcpp/utilities.hpp index 49b8307..a606251 100644 --- a/rclcpp/include/rclcpp/utilities.hpp +++ b/rclcpp/include/rclcpp/utilities.hpp @@ -45,7 +45,7 @@ rmw_guard_condition_t * g_sigint_guard_cond_handle = \ rmw_create_guard_condition(); /// Condition variable for timed sleep (see sleep_for). std::condition_variable g_interrupt_condition_variable; -std::atomic g_is_interrupted = false; +std::atomic g_is_interrupted(false); /// Mutex for protecting the global condition variable. std::mutex g_interrupt_mutex;