Explorar el Código

lolunit: fix an uninitialised member in TestCase.

legacy
Sam Hocevar sam hace 14 años
padre
commit
4d99340dfe
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/lol/unit.h

+ 2
- 1
src/lol/unit.h Ver fichero

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


Cargando…
Cancelar
Guardar