mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-17 08:37:17 -04:00
Fix std::list::empty()
This commit is contained in:
parent
8e52d69bcf
commit
2a1e030111
@ -155,7 +155,7 @@ struct list {
|
|||||||
* \brief Indicates if the list is empty
|
* \brief Indicates if the list is empty
|
||||||
*/
|
*/
|
||||||
bool empty() const {
|
bool empty() const {
|
||||||
return _size;
|
return !_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user