From c4d4e12f7e6b1800ae61447aa5a35167525ee5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Fri, 1 Jul 2022 16:22:54 +0200 Subject: [PATCH] Fixed wrong order in initializer list. --- repos/mml/src/app/thread_test/thread_test.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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