mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 05:24:31 +02:00
Remove "bitwise OR in bool" warning
This commit is contained in:
@@ -317,7 +317,7 @@ class node_allocator
|
||||
{
|
||||
std::size_t const preferred_size = prefer_in_recvd_out_size;
|
||||
dlmalloc_command_ret_t ret = {0 , 0};
|
||||
if((limit_size > this->max_size()) | (preferred_size > this->max_size())){
|
||||
if((limit_size > this->max_size()) || (preferred_size > this->max_size())){
|
||||
return pointer();
|
||||
}
|
||||
std::size_t l_size = limit_size*sizeof(T);
|
||||
|
Reference in New Issue
Block a user