remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
This commit is contained in:
parent
26e44a3be4
commit
683019878f
102 changed files with 300 additions and 307 deletions
|
@ -29,7 +29,7 @@ constexpr u32 pdep(u32 value) {
|
|||
|
||||
template <u32 mask, u32 incr_amount>
|
||||
void incrpdep(u32& value) {
|
||||
constexpr static u32 swizzled_incr = pdep<mask>(incr_amount);
|
||||
static constexpr u32 swizzled_incr = pdep<mask>(incr_amount);
|
||||
value = ((value | ~mask) + swizzled_incr) & mask;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue