Skip to content

Commit

Permalink
fix conflict resolution mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelarguedas committed Jul 13, 2017
1 parent 2962689 commit bff1b74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bondcpp/src/bond.cpp
Expand Up @@ -232,9 +232,8 @@ bool Bond::waitUntilBroken(ros::WallDuration timeout)
boost::mutex::scoped_lock lock(mutex_);
ros::SteadyTime deadline(ros::SteadyTime::now() + timeout);

while (sm_.getState().getId() != SM::Dead.getId())
{
if (!ros::ok())
while (sm_.getState().getId() != SM::Dead.getId()) {
if (!ros::ok()) {
break;
}

Expand Down

0 comments on commit bff1b74

Please sign in to comment.