io/FileReader: use GetFileInfoByHandle()

This commit is contained in:
Max Kellermann 2023-10-07 12:30:46 +02:00
parent 7b5f107341
commit 9365f68454

View File

@ -26,7 +26,7 @@ FileReader::GetFileInfo() const
{
assert(IsDefined());
return FileInfo(path);
return FileInfo{handle};
}
std::size_t