VERY experimental Nintendo Switch 2 emulator
C++
common/math_util: Make Rectangle's constructors constexpr
Lioncashfb1339a38522
diff --git a/src/common/math_util.h b/src/common/math_util.hindex cbcc414be5..cf5ad8457b 100644--- a/src/common/math_util.h+++ b/src/common/math_util.h@@ -18,9 +18,9 @@ struct Rectangle {T right{};T bottom{};- Rectangle() = default;+ constexpr Rectangle() = default;- Rectangle(T left, T top, T right, T bottom)+ constexpr Rectangle(T left, T top, T right, T bottom): left(left), top(top), right(right), bottom(bottom) {}T GetWidth() const {