[nostalgia/common] Make models noexcept

This commit is contained in:
2021-12-11 19:15:09 -06:00
parent 20a8d34e11
commit 0e73f75322
5 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -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));