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:
Christian Stenger
2025-02-17 09:38:56 +01:00
parent 30dca2a996
commit 1333189adb

View File

@@ -101,7 +101,7 @@ private:
Utils::FileReader reader;
// 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 {};