mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
eitd: use check empty() instead of size() or length()
This commit is contained in:
@@ -426,7 +426,7 @@ void *insertEventsfromFile(void * data)
|
||||
node = node->xmlNextNode;
|
||||
}
|
||||
|
||||
if (contentClassification.size()) {
|
||||
if (!contentClassification.empty()) {
|
||||
ssize_t off = e.classifications.reserve(2 * contentClassification.size());
|
||||
if (off > -1)
|
||||
for (unsigned i = 0; i < contentClassification.size(); i++)
|
||||
|
Reference in New Issue
Block a user