Skip to content

Commit

Permalink
removed additional redundant binds
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed May 3, 2019
1 parent 7c99e4c commit e65fabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/time_trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pcl::TimeTrigger::TimeTrigger (double interval, const callback_type& callback)
, condition_ ()
, condition_mutex_ ()
{
timer_thread_ = std::thread (boost::bind (&TimeTrigger::thread_function, this));
timer_thread_ = std::thread (&TimeTrigger::thread_function, this);
registerCallback (callback);
}

Expand All @@ -63,7 +63,7 @@ pcl::TimeTrigger::TimeTrigger (double interval)
, condition_ ()
, condition_mutex_ ()
{
timer_thread_ = std::thread (boost::bind (&TimeTrigger::thread_function, this));
timer_thread_ = std::thread (&TimeTrigger::thread_function, this);
}

//////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit e65fabc

Please sign in to comment.