mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
use empty() instead of size()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7d8d995046
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-18 (Mon, 18 Jun 2012)
Origin message was:
------------------
use empty() instead of size()
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -247,7 +247,7 @@ int CTimerdClient::addTimerEvent( CTimerd::CTimerEventTypes evType, void* data,
|
||||
//printf("[CTimerdClient] checking for overlapping timers\n");
|
||||
CTimerd::TimerList overlappingTimer;
|
||||
overlappingTimer = getOverlappingTimers(alarmtime, stoptime);
|
||||
if (overlappingTimer.size() > 0)
|
||||
if (!overlappingTimer.empty())
|
||||
{
|
||||
// timerd starts eventID at 0 so we can return -1
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user