Fix std::list::empty()

This commit is contained in:
Baptiste Wicht 2016-10-05 20:56:23 +02:00
parent 8e52d69bcf
commit 2a1e030111
No known key found for this signature in database
GPG Key ID: C5566B6C7F884532

View File

@ -155,7 +155,7 @@ struct list {
* \brief Indicates if the list is empty
*/
bool empty() const {
return _size;
return !_size;
}
/*!