summaryrefslogtreecommitdiff
path: root/src/uline.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/uline.hh')
-rw-r--r--src/uline.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/uline.hh b/src/uline.hh
index 28e2936..e6ad9c1 100644
--- a/src/uline.hh
+++ b/src/uline.hh
@@ -1,8 +1,7 @@
#ifndef ULINE_HH
#define ULINE_HH
-#include "line.hh" // IWYU pragma: export
-#include "uio.hh" // IWYU pragma: export
+#include "uio.hh" // IWYU pragma: export
#include <cstddef>
#include <expected>
@@ -17,7 +16,7 @@ class Reader {
// Returned view is only valid until next call to read.
[[nodiscard]]
- virtual std::expected<std::string_view, ::line::ReadError> read() = 0;
+ virtual std::expected<std::string_view, io::ReadError> read() = 0;
// Starts at zero. Returns next line.
// So, before first read it is zero, after first read it is one.
@@ -43,7 +42,7 @@ class Reader {
// Returned view is only valid until next call to read.
[[nodiscard]]
- virtual std::expected<std::u16string_view, ::line::ReadError> read() = 0;
+ virtual std::expected<std::u16string_view, io::ReadError> read() = 0;
// Starts at zero. Returns next line.
// So, before first read it is zero, after first read it is one.