use empty() instead of size()

Origin commit data
------------------
Commit: 7d8d995046
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)

Origin message was:
------------------
 use empty() instead of size()
This commit is contained in:
Jacek Jendrzej
2012-06-18 16:57:44 +02:00
parent b344259b06
commit 62163fa4e5
8 changed files with 16 additions and 16 deletions

View File

@@ -1473,7 +1473,7 @@ bool CRecordManager::CutBackNeutrino(const t_channel_id channel_id, const int mo
if(SAME_TRANSPONDER(live_channel_id, channel_id)) {
printf("%s zapTo_record channel_id %llx\n", __FUNCTION__, channel_id);
ret = g_Zapit->zapTo_record(channel_id) > 0;
} else if(recmap.size()) {
} else if(!recmap.empty()) {
ret = false;
} else {
if (mode != last_mode && (last_mode != NeutrinoMessages::mode_standby || mode != CNeutrinoApp::getInstance()->getLastMode())) {