Mark get_clock() as override to fix clang warnings. (#939)
Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
This commit is contained in:
parent
9d5947108b
commit
7e3f5511c4
1 changed files with 1 additions and 2 deletions
|
@ -56,9 +56,8 @@ public:
|
|||
|
||||
/// Get a clock which will be kept up to date by the node.
|
||||
RCLCPP_PUBLIC
|
||||
virtual
|
||||
rclcpp::Clock::ConstSharedPtr
|
||||
get_clock() const;
|
||||
get_clock() const override;
|
||||
|
||||
private:
|
||||
RCLCPP_DISABLE_COPY(NodeClock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue