From ed8ff4bb112fa0a4494b5e0775ed6b5ff2e94485 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 1 May 2017 02:39:55 -0500 Subject: [PATCH] Add empty struct to MC test --- src/ox/mc/test/tests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ox/mc/test/tests.cpp b/src/ox/mc/test/tests.cpp index a6aeabd68..9ad582ec0 100644 --- a/src/ox/mc/test/tests.cpp +++ b/src/ox/mc/test/tests.cpp @@ -36,6 +36,7 @@ struct TestStruct { int32_t Int8 = 0; bstring<32> String = ""; uint32_t List[4] = {0, 0, 0 , 0}; + TestStructNest EmptyStruct; TestStructNest Struct; }; @@ -65,6 +66,7 @@ int ioOp(T *io, TestStruct *obj) { err |= io->op("Int8", &obj->Int8); err |= io->op("String", &obj->String); err |= io->op("List", obj->List, 4); + err |= io->op("EmptyStruct", &obj->EmptyStruct); err |= io->op("Struct", &obj->Struct); return err; }