diff --git a/repos/mml/src/app/thread_test/thread_test.cc b/repos/mml/src/app/thread_test/thread_test.cc index c69619729a..24107899cb 100644 --- a/repos/mml/src/app/thread_test/thread_test.cc +++ b/repos/mml/src/app/thread_test/thread_test.cc @@ -19,11 +19,10 @@ class Thread_test::Test_thread : public Thread public: List_element _list_element{this}; - Test_thread(Env &env, uint16_t id, Location const &location) - : - _env(env), - _id(id), - Thread(env, Name("test_", location.xpos(), "x", location.ypos()), 4 * 4096, location, Weight(), env.cpu()) + Test_thread(Env &env, uint16_t id, Location const &location) + : Thread(env, Name("test_", location.xpos(), "x", location.ypos()), 4 * 4096, location, Weight(), env.cpu()), + _env(env), + _id(id) { } void entry() override