diff --git a/src/lol/unit.h b/src/lol/unit.h index 4fc9d213..51e227a5 100644 --- a/src/lol/unit.h +++ b/src/lol/unit.h @@ -81,8 +81,9 @@ public: static void AddTestCase(TestCase *that, char const *name, void (FixtureClass::*fun)()) { - that->m_testname = name; that->m_fun = fun; + that->m_testname = name; + that->m_next = NULL; GetOrSetTestCase(that); } };