[nostalgia/common] Make models noexcept
This commit is contained in:
@@ -185,7 +185,7 @@ constexpr bool Size::operator!=(const Size &p) const noexcept {
|
||||
|
||||
|
||||
template<typename T>
|
||||
constexpr ox::Error model(T *io, Size *obj) {
|
||||
constexpr ox::Error model(T *io, Size *obj) noexcept {
|
||||
io->template setTypeInfo<Size>();
|
||||
oxReturnError(io->field("width", &obj->width));
|
||||
oxReturnError(io->field("height", &obj->height));
|
||||
|
||||
Reference in New Issue
Block a user