Change order of deprecated and visibility attributes (#968)
This fixes a build issue with Clang. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
This commit is contained in:
parent
7a8606fb39
commit
fdaf96f217
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue