mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 03:47:16 +02:00
Remove unnecessary forced inlining of bool conversion
This commit is contained in:
@ -2252,7 +2252,7 @@ namespace boost {
|
|||||||
|
|
||||||
allocator_type get_allocator() const { return *alloc_; }
|
allocator_type get_allocator() const { return *alloc_; }
|
||||||
|
|
||||||
BOOST_FORCEINLINE explicit operator bool() const noexcept
|
explicit operator bool() const noexcept
|
||||||
{
|
{
|
||||||
return !this->operator!();
|
return !this->operator!();
|
||||||
}
|
}
|
||||||
|
@ -1875,7 +1875,7 @@ namespace boost {
|
|||||||
|
|
||||||
allocator_type get_allocator() const { return *alloc_; }
|
allocator_type get_allocator() const { return *alloc_; }
|
||||||
|
|
||||||
BOOST_FORCEINLINE explicit operator bool() const noexcept
|
explicit operator bool() const noexcept
|
||||||
{
|
{
|
||||||
return !this->operator!();
|
return !this->operator!();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user