From ee8fa78d930ea0346327eefddef319756e12d9ba Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 28 Jan 2017 16:24:22 -0500 Subject: [PATCH] astyle src/modules/uORB --- src/modules/uORB/uORBDevices.cpp | 2 +- src/modules/uORB/uORBDevices.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/uORB/uORBDevices.cpp b/src/modules/uORB/uORBDevices.cpp index 834127fb51..27b14e1a34 100644 --- a/src/modules/uORB/uORBDevices.cpp +++ b/src/modules/uORB/uORBDevices.cpp @@ -358,7 +358,7 @@ uORB::DeviceNode::ioctl(device::file_t *filp, int cmd, unsigned long arg) if (arg == 0) { if (sd->update_interval) { - delete(sd->update_interval); + delete (sd->update_interval); sd->update_interval = nullptr; } diff --git a/src/modules/uORB/uORBDevices.hpp b/src/modules/uORB/uORBDevices.hpp index 7eb9fa9d3a..5fd378e4bf 100644 --- a/src/modules/uORB/uORBDevices.hpp +++ b/src/modules/uORB/uORBDevices.hpp @@ -207,7 +207,7 @@ private: #endif }; struct SubscriberData { - ~SubscriberData() { if (update_interval) { delete(update_interval); } } + ~SubscriberData() { if (update_interval) { delete (update_interval); } } unsigned generation; /**< last generation the subscriber has seen */ int flags; /**< lowest 8 bits: priority of publisher, 9. bit: update_reported bit */