From d091dc78154d1c6341251f1ed13bfe3b33f10773 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 17 Sep 2025 00:05:42 +0200 Subject: uio: Remove unnecessary wrappers --- src/uio.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/uio.hh') diff --git a/src/uio.hh b/src/uio.hh index 3b26351..8a55f03 100644 --- a/src/uio.hh +++ b/src/uio.hh @@ -44,11 +44,6 @@ class Reader : public io::Reader { [[nodiscard]] std::unique_ptr open(std::unique_ptr reader, u::ReaderConfig config = {}); -[[nodiscard]] std::expected, io::OpenError> open( - const std::string& file_path, u::ReaderConfig config = {}); -[[nodiscard]] std::expected, io::OpenError> openat( - int dirfd, const std::string& file_path, u::ReaderConfig config = {}); - } // namespace u8 namespace u16 { @@ -68,11 +63,6 @@ class Reader : public io::Reader { [[nodiscard]] std::unique_ptr open(std::unique_ptr reader, u::ReaderConfig config = {}); -[[nodiscard]] std::expected, io::OpenError> open( - const std::string& file_path, u::ReaderConfig config = {}); -[[nodiscard]] std::expected, io::OpenError> openat( - int dirfd, const std::string& file_path, u::ReaderConfig config = {}); - } // namespace u16 #endif // UIO_HH -- cgit v1.3