summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-02 16:47:31 +0200
committerLioncash <mathew1800@gmail.com>2018-08-02 16:47:34 +0200
commitf2a03468b17a2c3b7ffc328e4693ea9250a38a61 (patch)
tree3bf990ee20f868de9072c212100731d66510ce50
parentMerge pull request #896 from lioncash/audio-out (diff)
downloadyuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar.gz
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar.bz2
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar.lz
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar.xz
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.tar.zst
yuzu-f2a03468b17a2c3b7ffc328e4693ea9250a38a61.zip
-rw-r--r--src/common/math_util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h
index c6a83c953..343cdd902 100644
--- a/src/common/math_util.h
+++ b/src/common/math_util.h
@@ -19,12 +19,12 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start
template <class T>
struct Rectangle {
- T left;
- T top;
- T right;
- T bottom;
+ T left{};
+ T top{};
+ T right{};
+ T bottom{};
- Rectangle() {}
+ Rectangle() = default;
Rectangle(T left, T top, T right, T bottom)
: left(left), top(top), right(right), bottom(bottom) {}