[ox/mc] Fix MC test's incorrect reporting of number of fields
This commit is contained in:
parent
a0290c315a
commit
1a2733f5ce
2
deps/ox/src/ox/mc/test/tests.cpp
vendored
2
deps/ox/src/ox/mc/test/tests.cpp
vendored
@ -53,7 +53,7 @@ int ioOp(T *io, TestStructNest *obj) {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
int ioOp(T *io, TestStruct *obj) {
|
int ioOp(T *io, TestStruct *obj) {
|
||||||
int err = 0;
|
int err = 0;
|
||||||
io->setFields(13);
|
io->setFields(14);
|
||||||
err |= io->op("Bool", &obj->Bool);
|
err |= io->op("Bool", &obj->Bool);
|
||||||
err |= io->op("Int", &obj->Int);
|
err |= io->op("Int", &obj->Int);
|
||||||
err |= io->op("Int1", &obj->Int1);
|
err |= io->op("Int1", &obj->Int1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user