Merge pull request #3060 from FearlessTobi/patch-1

common/bit_field: Remove FORCE_INLINE calls
merge-requests/60/head
Mat M 2019-11-03 04:59:06 +07:00 committed by GitHub
commit 2b4208254e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

@ -168,11 +168,11 @@ public:
constexpr BitField(BitField&&) noexcept = default; constexpr BitField(BitField&&) noexcept = default;
constexpr BitField& operator=(BitField&&) noexcept = default; constexpr BitField& operator=(BitField&&) noexcept = default;
constexpr FORCE_INLINE operator T() const { constexpr operator T() const {
return Value(); return Value();
} }
constexpr FORCE_INLINE void Assign(const T& value) { constexpr void Assign(const T& value) {
storage = (static_cast<StorageType>(storage) & ~mask) | FormatValue(value); storage = (static_cast<StorageType>(storage) & ~mask) | FormatValue(value);
} }