forked from qt-creator/qt-creator
FilePath: Remove const ref for enum argument
Change-Id: I86c5466cdcd8f74816456e70463157f28a4e37bc Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
c1cdea2661
commit
861b98a76a
@@ -1501,7 +1501,7 @@ FilePath FilePath::withNewPath(const QString &newPath) const
|
||||
|
||||
FilePath FilePath::searchInDirectories(const FilePaths &dirs,
|
||||
const FilePathPredicate &filter,
|
||||
const MatchScope &matchScope) const
|
||||
MatchScope matchScope) const
|
||||
{
|
||||
if (isEmpty())
|
||||
return {};
|
||||
@@ -1540,7 +1540,7 @@ FilePath FilePath::searchInDirectories(const FilePaths &dirs,
|
||||
|
||||
FilePaths FilePath::searchAllInDirectories(const FilePaths &dirs,
|
||||
const FilePathPredicate &filter,
|
||||
const MatchScope &matchScope) const
|
||||
MatchScope matchScope) const
|
||||
{
|
||||
if (isEmpty())
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user