]> granicus.if.org Git - taglib/commit
Use List::isEmpty() rather than size() to check if the list is empty.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 18 Nov 2015 07:57:41 +0000 (16:57 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 18 Nov 2015 07:57:41 +0000 (16:57 +0900)
commit6e6e11f21a94511a32202cbbab45820f60f8ecc5
tree2e5c290a7bfcc7847113753308cc8ea0bef5cd46
parent288e97ad44e26e6697cda692f60f8f327c2ab469
Use List::isEmpty() rather than size() to check if the list is empty.

std::list::empty() is guaranteed to be an O(1) operation.
taglib/ape/apeitem.cpp
taglib/ape/apetag.cpp
taglib/mp4/mp4tag.cpp
taglib/ogg/xiphcomment.cpp
taglib/xm/xmfile.cpp