From 52b931685852828e86937b660b08c2ce61857aa0 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 17 Mar 2019 14:12:11 -0500 Subject: [PATCH] [ox/std] Replace int with ox::Error where appropriate --- deps/ox/src/ox/std/trace.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ox/src/ox/std/trace.hpp b/deps/ox/src/ox/std/trace.hpp index 548a2620..33e10dd1 100644 --- a/deps/ox/src/ox/std/trace.hpp +++ b/deps/ox/src/ox/std/trace.hpp @@ -21,8 +21,8 @@ struct TraceMsg { }; template -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);