fix missing paren
parent
28cbc89840
commit
74c1010118
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
include(cmake/color.cmake)
|
||||
set(BLT_VERSION 3.0.4)
|
||||
set(BLT_VERSION 3.0.5)
|
||||
|
||||
set(BLT_TARGET BLT)
|
||||
|
||||
|
|
|
@ -265,8 +265,8 @@ namespace blt::mem
|
|||
{
|
||||
if (index >= bit_storage::END_BIT)
|
||||
return *this;
|
||||
ptr_bits &= ~(1ul << bit_storage::START_BIT + index);
|
||||
ptr_bits |= (static_cast<std::uintptr_t>(b) << bit_storage::START_BIT + index);
|
||||
ptr_bits &= ~(1ul << (bit_storage::START_BIT + index));
|
||||
ptr_bits |= (static_cast<std::uintptr_t>(b) << (bit_storage::START_BIT + index));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue