[nostalgia/common] Make models noexcept
This commit is contained in:
@@ -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()};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user