Skip to content

Commit e65fabc

Browse files
removed additional redundant binds
1 parent 7c99e4c commit e65fabc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/time_trigger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pcl::TimeTrigger::TimeTrigger (double interval, const callback_type& callback)
4949
, condition_ ()
5050
, condition_mutex_ ()
5151
{
52-
timer_thread_ = std::thread (boost::bind (&TimeTrigger::thread_function, this));
52+
timer_thread_ = std::thread (&TimeTrigger::thread_function, this);
5353
registerCallback (callback);
5454
}
5555

@@ -63,7 +63,7 @@ pcl::TimeTrigger::TimeTrigger (double interval)
6363
, condition_ ()
6464
, condition_mutex_ ()
6565
{
66-
timer_thread_ = std::thread (boost::bind (&TimeTrigger::thread_function, this));
66+
timer_thread_ = std::thread (&TimeTrigger::thread_function, this);
6767
}
6868

6969
//////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)