mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
avoided ugly casts in table_iterator::increment
This commit is contained in:
@ -340,7 +340,8 @@ private:
|
||||
}
|
||||
else{
|
||||
pc+=n;
|
||||
p+=static_cast<int>(n)-static_cast<int>(n0);
|
||||
p-=n0;
|
||||
p+=n;
|
||||
}
|
||||
}
|
||||
|
||||
@ -701,7 +702,8 @@ private:
|
||||
static constexpr dummy_group_layout
|
||||
storage[2]={group_type::dummy_group,group_type::dummy_group};
|
||||
|
||||
return reinterpret_cast<group_type*>(const_cast<dummy_group_layout*>(storage));
|
||||
return reinterpret_cast<group_type*>(
|
||||
const_cast<dummy_group_layout*>(storage));
|
||||
}
|
||||
|
||||
void delete_arrays(const arrays_info& arrays_)noexcept
|
||||
|
Reference in New Issue
Block a user