diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-21 07:57:32 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-21 08:08:18 +0100 |
commit | f11173f88cac03eab021d27725805128d046fd0d (patch) | |
tree | 5ec7868d11d9a3def3a95a2652a8c073bbfc7ff7 | |
parent | common/math_util: Remove unnecessary static from PI (diff) | |
download | yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar.gz yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar.bz2 yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar.lz yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar.xz yuzu-f11173f88cac03eab021d27725805128d046fd0d.tar.zst yuzu-f11173f88cac03eab021d27725805128d046fd0d.zip |
-rw-r--r-- | src/common/math_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h index cbcc414be..cf5ad8457 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 { |