From 9365f6845408c1299f0f4abb9cab6212118b27bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 Oct 2023 12:30:46 +0200 Subject: [PATCH] io/FileReader: use GetFileInfoByHandle() --- src/io/FileReader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/FileReader.cxx b/src/io/FileReader.cxx index 8fb11c853..93a0b5fc6 100644 --- a/src/io/FileReader.cxx +++ b/src/io/FileReader.cxx @@ -26,7 +26,7 @@ FileReader::GetFileInfo() const { assert(IsDefined()); - return FileInfo(path); + return FileInfo{handle}; } std::size_t