mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
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