diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-25 10:19:18 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-25 10:19:18 +0100 |
commit | c167df90380fdd99d1b56024c4de104a3f0a2f85 (patch) | |
tree | 8eb7266eb1813398b8da656fa8c63b10d79df1e0 /src/platforms/px4_subscriber.h | |
parent | 978013bbb8d67e295d92a54e16f7728013722e92 (diff) | |
download | px4-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.h | 4 |
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 |