Skip to content

Commit

Permalink
Make block_header members const
Browse files Browse the repository at this point in the history
  • Loading branch information
igaztanaga committed Sep 13, 2024
1 parent 64a08a6 commit 37e3451
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/boost/interprocess/detail/segment_manager_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ class mem_algo_deallocator
template<class size_type>
struct block_header
{
size_type m_value_bytes;
unsigned short m_num_char;
unsigned char m_value_alignment;
unsigned char m_alloc_type_sizeof_char;
const size_type m_value_bytes;
const unsigned short m_num_char;
const unsigned char m_value_alignment;
const unsigned char m_alloc_type_sizeof_char;

block_header(size_type val_bytes
,size_type val_alignment
Expand Down

0 comments on commit 37e3451

Please sign in to comment.