aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_subscriber.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-11-25 10:19:18 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-11-25 10:19:18 +0100
commitc167df90380fdd99d1b56024c4de104a3f0a2f85 (patch)
tree8eb7266eb1813398b8da656fa8c63b10d79df1e0 /src/platforms/px4_subscriber.h
parent978013bbb8d67e295d92a54e16f7728013722e92 (diff)
downloadpx4-firmware-c167df90380fdd99d1b56024c4de104a3f0a2f85.tar.gz
px4-firmware-c167df90380fdd99d1b56024c4de104a3f0a2f85.tar.bz2
px4-firmware-c167df90380fdd99d1b56024c4de104a3f0a2f85.zip
ros wrapper: small reordering
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