Fixed wrong order in initializer list.

This commit is contained in:
Michael Müller
2022-07-01 16:22:54 +02:00
parent 6c0f4e232c
commit c4d4e12f7e

View File

@@ -19,11 +19,10 @@ class Thread_test::Test_thread : public Thread
public:
List_element<Test_thread> _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