forked from qt-creator/qt-creator
Utils: Mark some convenience methods as const/static
Change-Id: Icb7a7394270e495717de5edd66bc19a0c2d97a3c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user