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:
Jacek Jendrzej
2015-01-01 19:02:41 +01:00
parent 667d5e5006
commit 85c00e412d
5 changed files with 23 additions and 23 deletions

View File

@@ -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++)