summaryrefslogtreecommitdiff
path: root/asl/containers/buffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/containers/buffer.hpp')
-rw-r--r--asl/containers/buffer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/asl/containers/buffer.hpp b/asl/containers/buffer.hpp
index c3d865f..f5ba975 100644
--- a/asl/containers/buffer.hpp
+++ b/asl/containers/buffer.hpp
@@ -110,7 +110,9 @@ private:
constexpr void set_size_inline(isize_t new_size)
{
ASL_ASSERT(new_size >= 0 && new_size <= kInlineCapacity);
- const size_t size_encoded = (load_size_encoded() & size_t{0x00ff'ffff'ffff'ffff}) | (bit_cast<size_t>(new_size) << 56U);
+ const size_t size_encoded =
+ (load_size_encoded() & size_t{0x00ff'ffff'ffff'ffff})
+ | (bit_cast<size_t>(new_size) << 56U);
store_size_encoded(size_encoded);
}