Skip to content

Commit

Permalink
Reorder fields initialization to match initialization order in .h file (
Browse files Browse the repository at this point in the history
#987)

This change fixes -Wreorder warnings. More on -Wreorder:
https://stackoverflow.com/questions/1828037/whats-the-point-of-g-wreorder
  • Loading branch information
aeneev authored and chapulina committed Aug 28, 2019
1 parent 3cd100e commit daebf9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gazebo_ros/src/gazebo_ros_api_plugin.cpp
Expand Up @@ -28,13 +28,13 @@ namespace gazebo
{

GazeboRosApiPlugin::GazeboRosApiPlugin() :
physics_reconfigure_initialized_(false),
world_created_(false),
stop_(false),
plugin_loaded_(false),
stop_(false),
pub_link_states_connection_count_(0),
pub_model_states_connection_count_(0),
pub_clock_frequency_(0)
physics_reconfigure_initialized_(false),
pub_clock_frequency_(0),
world_created_(false)
{
robot_namespace_.clear();
}
Expand Down

0 comments on commit daebf9c

Please sign in to comment.