From c790027fbc0b07772c78f980d52cce5abd7a457c Mon Sep 17 00:00:00 2001 From: tempate Date: Fri, 15 Sep 2023 07:41:45 +0200 Subject: [PATCH] Move dynamic_tracks's init to avoid warning Signed-off-by: tempate --- .../include/ddspipe_core/core/DdsPipe.hpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ddspipe_core/include/ddspipe_core/core/DdsPipe.hpp b/ddspipe_core/include/ddspipe_core/core/DdsPipe.hpp index 10e7b844..0032ca97 100644 --- a/ddspipe_core/include/ddspipe_core/core/DdsPipe.hpp +++ b/ddspipe_core/include/ddspipe_core/core/DdsPipe.hpp @@ -362,12 +362,9 @@ class DdsPipe */ std::map current_services_; - ///// + ///////////////////// // AUXILIAR VARIABLES - ///////////////////////// - - //! Whether readers that aren't connected to any writers should be deleted - bool dynamic_tracks_; + ///////////////////// //! Whether the DdsPipe is currently communicating data or not bool enabled_; @@ -377,15 +374,22 @@ class DdsPipe */ mutable std::mutex mutex_; - ///////////////////////// + ////////////////////////// // CONFIGURATION VARIABLES - ///////////////////////// + ////////////////////////// //! Custom forwarding routes RoutesConfiguration routes_config_; //! Custom forwarding routes per topic TopicRoutesConfiguration topic_routes_config_; + + ///////////////// + // DYNAMIC TRACKS + ///////////////// + + //! Whether readers that aren't connected to any writers should be deleted + bool dynamic_tracks_; }; } /* namespace core */