diff options
Diffstat (limited to 'src/common/fixed_point.h')
| -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 5aafa273b..f899b0d54 100644 --- a/src/common/fixed_point.h +++ b/src/common/fixed_point.h | |||
| @@ -267,7 +267,7 @@ public: | |||
| 267 | static constexpr base_type one = base_type(1) << fractional_bits; | 267 | static constexpr base_type one = base_type(1) << fractional_bits; |
| 268 | 268 | ||
| 269 | public: // constructors | 269 | public: // constructors |
| 270 | FixedPoint() = default; | 270 | constexpr FixedPoint() = default; |
| 271 | 271 | ||
| 272 | constexpr FixedPoint(const FixedPoint&) = default; | 272 | constexpr FixedPoint(const FixedPoint&) = default; |
| 273 | constexpr FixedPoint& operator=(const FixedPoint&) = default; | 273 | constexpr FixedPoint& operator=(const FixedPoint&) = default; |
| @@ -463,7 +463,7 @@ public: | |||
| 463 | } | 463 | } |
| 464 | 464 | ||
| 465 | public: | 465 | public: |
| 466 | base_type data_; | 466 | base_type data_{}; |
| 467 | }; | 467 | }; |
| 468 | 468 | ||
| 469 | // if we have the same fractional portion, but differing integer portions, we trivially upgrade the | 469 | // if we have the same fractional portion, but differing integer portions, we trivially upgrade the |