From e109b731ad001ba566289b7184799e91b19fbccb Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 17 Dec 2019 14:07:53 +0100 Subject: Utils: Rename FilePathList to simply FilePaths The exact storage type does not really matter here. Change-Id: Iefec40f0f5909c8e7ba3415db4a11962694e1b38 Reviewed-by: Eike Ziller --- src/plugins/cpptools/cppfindreferences.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/cpptools/cppfindreferences.cpp') diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index f5c4405acd..9e1dbd697d 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -284,7 +284,7 @@ static void find_helper(QFutureInterface &future, const Utils::FilePath sourceFile = Utils::FilePath::fromUtf8(symbol->fileName(), symbol->fileNameLength()); - Utils::FilePathList files{sourceFile}; + Utils::FilePaths files{sourceFile}; if (symbol->isClass() || symbol->isForwardClassDeclaration() @@ -689,7 +689,7 @@ static void findMacroUses_helper(QFutureInterface &future, const CPlusPlus::Macro macro) { const Utils::FilePath sourceFile = Utils::FilePath::fromString(macro.fileName()); - Utils::FilePathList files{sourceFile}; + Utils::FilePaths files{sourceFile}; files = Utils::filteredUnique(files + snapshot.filesDependingOn(sourceFile)); future.setProgressRange(0, files.size()); -- cgit v1.2.1