Skip to content

Commit

Permalink
Update src/cpp/rtps/writer/LivelinessManager.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
  • Loading branch information
richiware and EduPonz authored Aug 13, 2021
1 parent d87e06a commit e19c537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/writer/LivelinessManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ bool LivelinessManager::add_writer(
}

// Some times the interval could be negative if a writer expired during the call to this function
// Once in this situation there is not much we can do but let asio timers expire inmediately
// Once in this situation there is not much we can do but let asio timers expire immediately
auto interval = timer_owner_->time - steady_clock::now();
timer_.update_interval_millisec((double)duration_cast<milliseconds>(interval).count());
timer_.restart_timer();
Expand Down

0 comments on commit e19c537

Please sign in to comment.