Browse Source

lolunit: fix an uninitialised member in TestCase.

legacy
Sam Hocevar sam 13 years ago
parent
commit
4d99340dfe
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lol/unit.h

+ 2
- 1
src/lol/unit.h View File

@@ -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);
}
};


Loading…
Cancel
Save