[ox/std] Replace int with ox::Error where appropriate

This commit is contained in:
Gary Talent 2019-03-17 14:12:11 -05:00
parent 94afbd4f60
commit 52b9316858

View File

@ -21,8 +21,8 @@ struct TraceMsg {
};
template<typename T>
int model(T *io, ox::trace::TraceMsg *obj) {
int32_t err = 0;
Error model(T *io, ox::trace::TraceMsg *obj) {
Error err = 0;
io->setTypeInfo("ox::trace::TraceMsg", 5);
err |= io->field("file", &obj->file);
err |= io->field("line", &obj->line);