Arrays - Fixed drug-induced error in ::empty()
This commit is contained in:
parent
ec0dba97f2
commit
3745631e02
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ inline uint32_t T_Array< T >::growth( ) const noexcept
|
|||
template< typename T >
|
||||
inline bool T_Array< T >::empty( ) const noexcept
|
||||
{
|
||||
return size_ != 0;
|
||||
return size_ == 0;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
@ -1146,7 +1146,7 @@ inline uint32_t T_StaticArray< T , S >::size( ) const noexcept
|
|||
template< typename T , uint32_t S >
|
||||
inline bool T_StaticArray< T , S >::empty( ) const noexcept
|
||||
{
|
||||
return size_ != 0;
|
||||
return size_ == 0;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
@ -1779,7 +1779,7 @@ inline bool T_AutoArray< T , S , G >::isStatic( ) const noexcept
|
|||
template< typename T , uint32_t S , uint32_t G >
|
||||
inline bool T_AutoArray< T , S , G >::empty( ) const noexcept
|
||||
{
|
||||
return size( ) != 0;
|
||||
return size( ) == 0;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue