From fdaf96f2171e70f3e013610aa44df2d7e9c866a3 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Wed, 22 Jan 2020 15:18:09 -0800 Subject: [PATCH] Change order of deprecated and visibility attributes (#968) This fixes a build issue with Clang. Signed-off-by: Jacob Perron --- 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 6194aaa..83fa285 100644 --- a/rclcpp/include/rclcpp/utilities.hpp +++ b/rclcpp/include/rclcpp/utilities.hpp @@ -153,8 +153,8 @@ ok(rclcpp::Context::SharedPtr context = nullptr); * \param[in] context Check for initialization of this Context. * \return true if the context is initialized, and false otherwise */ -RCLCPP_PUBLIC [[deprecated("use the function ok() instead, which has the same usage.")]] +RCLCPP_PUBLIC bool is_initialized(rclcpp::Context::SharedPtr context = nullptr);