[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
+2 -2
View File
@@ -33,11 +33,11 @@ int Bounds::y2() const noexcept {
}
Point Bounds::pt1() const noexcept {
return Point(x, y);
return {x, y};
}
Point Bounds::pt2() const noexcept {
return Point(x2(), y2());
return {x2(), y2()};
}
}