From aa74aa2b80ba333f9bdf19f6742ebf94487382ce Mon Sep 17 00:00:00 2001
From: Alessandro Simovic <alessandro@yuneecresearch.com>
Date: Fri, 4 Jan 2019 09:11:07 +0100
Subject: [PATCH] CollisionPrevention: curly brace inits

---
 src/lib/CollisionPrevention/CollisionPrevention.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/CollisionPrevention/CollisionPrevention.hpp b/src/lib/CollisionPrevention/CollisionPrevention.hpp
index 81ad514604..36b41ef7f0 100644
--- a/src/lib/CollisionPrevention/CollisionPrevention.hpp
+++ b/src/lib/CollisionPrevention/CollisionPrevention.hpp
@@ -74,10 +74,10 @@ private:
 
 	bool _interfering = false;		/**< states if the collision prevention interferes with the user input */
 
-	orb_advert_t _constraints_pub = nullptr;		/**< constraints publication */
-	orb_advert_t _mavlink_log_pub = nullptr;	 	/**< Mavlink log uORB handle */
+	orb_advert_t _constraints_pub{nullptr};		/**< constraints publication */
+	orb_advert_t _mavlink_log_pub{nullptr};	 	/**< Mavlink log uORB handle */
 
-	uORB::Subscription<obstacle_distance_s> *_sub_obstacle_distance = nullptr; /**< obstacle distances received form a range sensor */
+	uORB::Subscription<obstacle_distance_s> *_sub_obstacle_distance{nullptr}; /**< obstacle distances received form a range sensor */
 
 	static constexpr uint64_t RANGE_STREAM_TIMEOUT_US = 500000;
 	static constexpr uint64_t MESSAGE_THROTTLE_US = 5000000;
-- 
GitLab