mirror of https://github.com/AxioDL/jbus.git
Merge pull request #8 from lioncash/bind
Listener: Remove unnecessary bind() within start()
This commit is contained in:
commit
d72163ad27
|
@ -84,7 +84,7 @@ void Listener::listenerProc() {
|
|||
void Listener::start() {
|
||||
stop();
|
||||
m_running = true;
|
||||
m_listenerThread = std::thread(std::bind(&Listener::listenerProc, this));
|
||||
m_listenerThread = std::thread(&Listener::listenerProc, this);
|
||||
}
|
||||
|
||||
void Listener::stop() {
|
||||
|
|
Loading…
Reference in New Issue