mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:01:36 +08:00
ros wrapper: small reordering
This commit is contained in:
@@ -47,12 +47,12 @@ namespace px4
|
||||
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
|
||||
class Subscriber
|
||||
{
|
||||
private:
|
||||
ros::Subscriber _ros_sub;
|
||||
public:
|
||||
Subscriber(ros::Subscriber ros_sub) : _ros_sub(ros_sub)
|
||||
{}
|
||||
~Subscriber() {};
|
||||
private:
|
||||
ros::Subscriber _ros_sub;
|
||||
};
|
||||
#else
|
||||
class Subscriber
|
||||
|
||||
Reference in New Issue
Block a user