diff options
author | Tobias <thm.frey@gmail.com> | 2019-11-03 08:25:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 08:25:37 +0100 |
commit | a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c (patch) | |
tree | 04976dbac38caf289561b9fd9cefbb0f160c5b3c /src | |
parent | Merge pull request #3058 from FearlessTobi/port-4948 (diff) | |
download | yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar.gz yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar.bz2 yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar.lz yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar.xz yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.tar.zst yuzu-a81987a7cb9c4a42bdbaff1e32ce1ba2d8264f5c.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); } |