Skip to content

Commit 1564fc2

Browse files
jmachowinskiJanosch Machowinski
andauthored
fix: Compilefix for clang (#2775)
clang does not like : __attribute__ ((visibility("default"))) [[deprecated("Don't like'")]] while [[deprecated("Don't like'")]] __attribute__ ((visibility("default"))) is fine... Signed-off-by: Janosch Machowinski <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]>
1 parent 9ff1201 commit 1564fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/include/rclcpp/clock.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ class Clock
210210
* This function can be used by one thread, to wakeup another thread that is
211211
* blocked using any of the sleep_ or wait_ methods of this class.
212212
*/
213-
RCLCPP_PUBLIC
214213
[[deprecated("Use ClockConditionalVariable")]]
214+
RCLCPP_PUBLIC
215215
void
216216
cancel_sleep_or_wait();
217217

0 commit comments

Comments
 (0)