Fix -Werror=conversion error.
This commit is contained in:
parent
8f548266cd
commit
c499c22cf7
2 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ public:
|
|||
}
|
||||
|
||||
constexpr void Assign(const T& value) {
|
||||
storage = (static_cast<StorageType>(storage) & ~mask) | FormatValue(value);
|
||||
storage = static_cast<StorageType>((storage & ~mask) | FormatValue(value));
|
||||
}
|
||||
|
||||
constexpr T Value() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue