Utils: Mark some convenience methods as const/static

Change-Id: Icb7a7394270e495717de5edd66bc19a0c2d97a3c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Bernhard Beschow
2021-02-06 13:30:10 +01:00
parent aec6126634
commit a8074f7dc0
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ bool OutputLineParser::demoteErrorsToWarnings() const
return d->demoteErrorsToWarnings;
}
FilePath OutputLineParser::absoluteFilePath(const FilePath &filePath)
FilePath OutputLineParser::absoluteFilePath(const FilePath &filePath) const
{
if (filePath.isEmpty() || filePath.toFileInfo().isAbsolute())
return filePath;