diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-02 16:47:31 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 16:47:34 +0200 |
commit | f2a03468b17a2c3b7ffc328e4693ea9250a38a61 (patch) | |
tree | 3bf990ee20f868de9072c212100731d66510ce50 | |
parent | Merge pull request #896 from lioncash/audio-out (diff) | |
download | yuzu-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.h | 10 |
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) {} |