diff options
author | Mat M <mathew1800@gmail.com> | 2019-11-03 10:59:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 10:59:06 +0100 |
commit | 2b4208254ef77af3501895226e1494853030d0dd (patch) | |
tree | 04976dbac38caf289561b9fd9cefbb0f160c5b3c | |
parent | Merge pull request #3064 from yuzu-emu/revert-3063-zero-init-padding (diff) | |
parent | common/bit_field: Remove FORCE_INLINE calls (diff) | |
download | yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar.gz yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar.bz2 yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar.lz yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar.xz yuzu-2b4208254ef77af3501895226e1494853030d0dd.tar.zst yuzu-2b4208254ef77af3501895226e1494853030d0dd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/bit_field.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bit_field.h b/src/common/bit_field.h index 902e668e3..8131d1f95 100644 --- a/src/common/bit_field.h +++ b/src/common/bit_field.h @@ -168,11 +168,11 @@ public: constexpr BitField(BitField&&) noexcept = default; constexpr BitField& operator=(BitField&&) noexcept = default; - constexpr FORCE_INLINE operator T() const { + constexpr operator T() const { return Value(); } - constexpr FORCE_INLINE void Assign(const T& value) { + constexpr void Assign(const T& value) { storage = (static_cast<StorageType>(storage) & ~mask) | FormatValue(value); } |