aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_subscriber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/px4_subscriber.h')
-rw-r--r--src/platforms/px4_subscriber.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/px4_subscriber.h b/src/platforms/px4_subscriber.h
index 8933b2ab2..78be3ebff 100644
--- a/src/platforms/px4_subscriber.h
+++ b/src/platforms/px4_subscriber.h
@@ -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