Listener: Remove unnecessary bind() within start()

std::thread already handles execution of member functions
out-of-the-box.
This commit is contained in:
Lioncash 2019-09-03 10:18:49 -04:00
parent dff87c2c6a
commit be121a1bb9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void Listener::listenerProc() {
void Listener::start() { void Listener::start() {
stop(); stop();
m_running = true; m_running = true;
m_listenerThread = std::thread(std::bind(&Listener::listenerProc, this)); m_listenerThread = std::thread(&Listener::listenerProc, this);
} }
void Listener::stop() { void Listener::stop() {