summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-10-18 19:13:26 +0200
committerLioncash <mathew1800@gmail.com>2022-10-18 22:06:50 +0200
commit0cfd90004bf058a278ff1db3442b523e2bb1b0fa (patch)
treeb4c2c645662b59adbcb8c6e5ab68779a8f1f8882 /src
parentfixed_point: Mark relevant member function [[nodiscard]] (diff)
downloadyuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar.gz
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar.bz2
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar.lz
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar.xz
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.tar.zst
yuzu-0cfd90004bf058a278ff1db3442b523e2bb1b0fa.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/fixed_point.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/fixed_point.h b/src/common/fixed_point.h
index cbe76fbf1..ad0d71e50 100644
--- a/src/common/fixed_point.h
+++ b/src/common/fixed_point.h
@@ -269,7 +269,7 @@ public:
public: // constructors
FixedPoint() = default;
FixedPoint(const FixedPoint&) = default;
- FixedPoint(FixedPoint&&) = default;
+ FixedPoint(FixedPoint&&) noexcept = default;
FixedPoint& operator=(const FixedPoint&) = default;
template <IsArithmetic Number>
@@ -454,7 +454,7 @@ public: // conversion to basic types
}
public:
- constexpr void swap(FixedPoint& rhs) {
+ constexpr void swap(FixedPoint& rhs) noexcept {
using std::swap;
swap(data_, rhs.data_);
}