forked from qt-creator/qt-creator
ClangTools: Silence soft assert
The file cache uses os specific file separators for the file paths used as keys. Change-Id: I135348518c4be8a1156c69a51c9f9769b5f6518e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -101,7 +101,7 @@ private:
|
|||||||
|
|
||||||
Utils::FileReader reader;
|
Utils::FileReader reader;
|
||||||
// Do not use FileReader::text as we have to deal with byte offsets.
|
// Do not use FileReader::text as we have to deal with byte offsets.
|
||||||
if (reader.fetch(Utils::FilePath::fromString(filePath)))
|
if (reader.fetch(Utils::FilePath::fromUserInput(filePath)))
|
||||||
return reader.data();
|
return reader.data();
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
|
Reference in New Issue
Block a user