Mark get_clock() as override to fix clang warnings. (#939)

Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
This commit is contained in:
Steven! Ragnarök 2019-12-09 22:27:44 -05:00 committed by GitHub
parent 9d5947108b
commit 7e3f5511c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,9 +56,8 @@ public:
/// Get a clock which will be kept up to date by the node. /// Get a clock which will be kept up to date by the node.
RCLCPP_PUBLIC RCLCPP_PUBLIC
virtual
rclcpp::Clock::ConstSharedPtr rclcpp::Clock::ConstSharedPtr
get_clock() const; get_clock() const override;
private: private:
RCLCPP_DISABLE_COPY(NodeClock) RCLCPP_DISABLE_COPY(NodeClock)