diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/fixed_point.h | 4 |
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: | |||
| 269 | public: // constructors | 269 | public: // constructors |
| 270 | FixedPoint() = default; | 270 | FixedPoint() = default; |
| 271 | FixedPoint(const FixedPoint&) = default; | 271 | FixedPoint(const FixedPoint&) = default; |
| 272 | FixedPoint(FixedPoint&&) = default; | 272 | FixedPoint(FixedPoint&&) noexcept = default; |
| 273 | FixedPoint& operator=(const FixedPoint&) = default; | 273 | FixedPoint& operator=(const FixedPoint&) = default; |
| 274 | 274 | ||
| 275 | template <IsArithmetic Number> | 275 | template <IsArithmetic Number> |
| @@ -454,7 +454,7 @@ public: // conversion to basic types | |||
| 454 | } | 454 | } |
| 455 | 455 | ||
| 456 | public: | 456 | public: |
| 457 | constexpr void swap(FixedPoint& rhs) { | 457 | constexpr void swap(FixedPoint& rhs) noexcept { |
| 458 | using std::swap; | 458 | using std::swap; |
| 459 | swap(data_, rhs.data_); | 459 | swap(data_, rhs.data_); |
| 460 | } | 460 | } |