1
0
Fork 0
forked from len0rd/rockbox

rbutil: Use references to avoid creating temporary objects.

Get rid of some unnecessary object creating / copying by using
references.

Change-Id: Ia44e34f6f66d230caa9af7ef7c0eca73be12de2a
This commit is contained in:
Dominik Riebeling 2022-04-17 12:26:43 +02:00
parent 8c55ce62b9
commit 62108a9613
14 changed files with 24 additions and 25 deletions

View file

@ -62,7 +62,7 @@
#endif
// recursive function to delete a dir with files
bool Utils::recursiveRmdir( const QString &dirName )
bool Utils::recursiveRmdir(const QString &dirName)
{
QString dirN = dirName;
QDir dir(dirN);