mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 09:04:49 -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
|
||||
*/
|
||||
bool empty() const {
|
||||
return _size;
|
||||
return !_size;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
x
Reference in New Issue
Block a user