mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
eitd: use check empty() instead of size() or length()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8e4af0b619
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-01 (Thu, 01 Jan 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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