fixup clang warning (#1040)

Signed-off-by: William Woodall <william@osrfoundation.org>
This commit is contained in:
William Woodall 2020-03-31 09:00:09 -07:00 committed by GitHub
parent 99286978f9
commit efa47546ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ public:
return has_invalid_weak_nodes; return has_invalid_weak_nodes;
} }
void add_waitable_handle(const rclcpp::Waitable::SharedPtr & waitable) void add_waitable_handle(const rclcpp::Waitable::SharedPtr & waitable) override
{ {
if (nullptr == waitable) { if (nullptr == waitable) {
throw std::runtime_error("waitable object unexpectedly nullptr"); throw std::runtime_error("waitable object unexpectedly nullptr");