mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
use empty() instead of size()
Origin commit data
------------------
Commit: bc574e9688
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-16 (Sat, 16 Jun 2012)
Origin message was:
------------------
use empty() instead of size()
This commit is contained in:
@@ -986,7 +986,7 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (selections.size() > 0)
|
||||
if (!selections.empty())
|
||||
{
|
||||
ChangeDir("..",selections.back());
|
||||
selections.pop_back();
|
||||
@@ -1046,7 +1046,7 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
else
|
||||
#endif
|
||||
{
|
||||
if (selections.size() > 0)
|
||||
if ( !selections.empty() )
|
||||
{
|
||||
ChangeDir("..",selections.back());
|
||||
selections.pop_back();
|
||||
|
Reference in New Issue
Block a user