summaryrefslogtreecommitdiff
path: root/src/uio.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-09-17 00:05:42 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-09-17 00:05:42 +0200
commitd091dc78154d1c6341251f1ed13bfe3b33f10773 (patch)
tree81134c1fc6ec668031cbdf6b4f4280e2357e7846 /src/uio.hh
parentaa49abdf239bae6065fddd0839ec67a404c9748c (diff)
uio: Remove unnecessary wrappers
Diffstat (limited to 'src/uio.hh')
-rw-r--r--src/uio.hh10
1 files changed, 0 insertions, 10 deletions
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<Reader> open(std::unique_ptr<io::Reader> reader,
u::ReaderConfig config = {});
-[[nodiscard]] std::expected<std::unique_ptr<Reader>, io::OpenError> open(
- const std::string& file_path, u::ReaderConfig config = {});
-[[nodiscard]] std::expected<std::unique_ptr<Reader>, 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<Reader> open(std::unique_ptr<io::Reader> reader,
u::ReaderConfig config = {});
-[[nodiscard]] std::expected<std::unique_ptr<Reader>, io::OpenError> open(
- const std::string& file_path, u::ReaderConfig config = {});
-[[nodiscard]] std::expected<std::unique_ptr<Reader>, io::OpenError> openat(
- int dirfd, const std::string& file_path, u::ReaderConfig config = {});
-
} // namespace u16
#endif // UIO_HH