Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <[email protected]>
  • Loading branch information
mxgrey committed May 23, 2024
1 parent f609649 commit c1f74fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rmf_building_sim_gz_plugins/src/lift.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class LiftPlugin
else
{
gzwarn << "Initial floor not found for lift [" << lift.name
<< "], setting elevation to first floor" << std::endl;
<< "], setting elevation to first floor" << std::endl;
for (const auto& [name, floor]: lift.floors)
{
if (floor.elevation < target_elevation)
Expand All @@ -143,8 +143,8 @@ class LiftPlugin
else
{
gzwarn << "The lift [" << lift.name << "] does not support any "
<< "floors. This is probably an error in your building "
<< "configuration." << std::endl;
<< "floors. This is probably an error in your building "
<< "configuration." << std::endl;
target_elevation = 0.0;
}
target_elevation = lift.floors.at(0).elevation;
Expand Down

0 comments on commit c1f74fd

Please sign in to comment.