Virtual destructors (#212)
This commit is contained in:
parent
e961189be8
commit
6adfb917a9
4 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ public:
|
|||
const std::string & service_name);
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
~ClientBase();
|
||||
virtual ~ClientBase();
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
const std::string &
|
||||
|
|
|
@ -80,7 +80,7 @@ public:
|
|||
bool use_intra_process_comms = false);
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
~Node();
|
||||
virtual ~Node();
|
||||
|
||||
/// Get the name of the node.
|
||||
// \return The name of the node.
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
size_t queue_size);
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
~PublisherBase();
|
||||
virtual ~PublisherBase();
|
||||
|
||||
/// Get the topic that this publisher publishes on.
|
||||
// \return The topic name.
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
const std::string service_name);
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
~ServiceBase();
|
||||
virtual ~ServiceBase();
|
||||
|
||||
RCLCPP_PUBLIC
|
||||
std::string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue