Skip to content

Commit

Permalink
Move dynamic_tracks's init to avoid warning
Browse files Browse the repository at this point in the history
Signed-off-by: tempate <[email protected]>
  • Loading branch information
Tempate committed Sep 15, 2023
1 parent 1e7f3fe commit c790027
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions ddspipe_core/include/ddspipe_core/core/DdsPipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,9 @@ class DdsPipe
*/
std::map<types::RpcTopic, bool> 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_;
Expand All @@ -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 */
Expand Down

0 comments on commit c790027

Please sign in to comment.