瀏覽代碼

lolunit: fix an uninitialised member in TestCase.

legacy
Sam Hocevar sam 13 年之前
父節點
當前提交
4d99340dfe
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/lol/unit.h

+ 2
- 1
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);
}
};


Loading…
取消
儲存