Commit d72163ad authored by Phillip Stephens's avatar Phillip Stephens Committed by GitHub

Merge pull request #8 from lioncash/bind

Listener: Remove unnecessary bind() within start()
parents fb3d880b be121a1b
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment