Skip to content
Snippets Groups Projects
Commit ea80026c authored by g0dil's avatar g0dil
Browse files

Console: Fix stupid scoping bug

parent db1a8791
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ prefix_ senf::console::Server & senf::console::Server::start(ServerHandle handle ...@@ -94,7 +94,7 @@ prefix_ senf::console::Server & senf::console::Server::start(ServerHandle handle
} }
prefix_ senf::console::Server::Server(ServerHandle handle) prefix_ senf::console::Server::Server(ServerHandle handle)
: handle_ (handle), root_ (root().thisptr()), mode_ (Automatic) : handle_ (handle), root_ (senf::console::root().thisptr()), mode_ (Automatic)
{ {
Scheduler::instance().add( handle_, senf::membind(&Server::newClient, this) ); Scheduler::instance().add( handle_, senf::membind(&Server::newClient, this) );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment