Fixed a bunch of clang-tidy warnings.
This commit is contained in:
@@ -107,7 +107,7 @@ StreamError StackedFileSystemAdapter::open(const fs::path& path, FileOpenMode mo
|
||||
{
|
||||
for (auto& adapter : adapters_)
|
||||
{
|
||||
FileInfo fileInfo = adapter->getFileInfo(path);
|
||||
const FileInfo fileInfo = adapter->getFileInfo(path);
|
||||
if (fileInfo.exists) {
|
||||
return adapter->open(path, mode, outStream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user