[nostalgia] Address CLion warnings

This commit is contained in:
2021-02-27 02:40:59 -06:00
parent 70168286ab
commit 936c922c1e
24 changed files with 63 additions and 124 deletions
+3 -4
View File
@@ -183,11 +183,10 @@ constexpr bool Point::operator!=(const Point &p) const {
template<typename T>
ox::Error model(T *io, Point *obj) {
auto err = OxError(0);
io->setTypeInfo("nostalgia::common::Bounds", 2);
err |= io->field("x", &obj->x);
err |= io->field("y", &obj->y);
return err;
oxReturnError(io->field("x", &obj->x));
oxReturnError(io->field("y", &obj->y));
return OxError(0);
}
}