diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 23:09:18 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 23:09:18 +0200 |
| commit | b148bc31697698959ab02c95e45f87e3b31fa565 (patch) | |
| tree | 56e7c994ddac78e9a39fd5bd3be150504954c353 /src/uline.hh | |
| parent | 5fb06d7fc3a16df2a560021b0a2aacfb8972ba99 (diff) | |
fixup! uline: Add unicode line reader
Diffstat (limited to 'src/uline.hh')
| -rw-r--r-- | src/uline.hh | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/uline.hh b/src/uline.hh index a3bcef3..28e2936 100644 --- a/src/uline.hh +++ b/src/uline.hh @@ -9,9 +9,7 @@ #include <memory> #include <string_view> -namespace u8 { - -namespace line { +namespace u8::line { class Reader { public: @@ -35,13 +33,9 @@ class Reader { [[nodiscard]] std::unique_ptr<Reader> open(std::unique_ptr<u8::Reader> reader, size_t max_len = 8192); -} // namespace line - -} // namespace u8 +} // namespace u8::line -namespace u16 { - -namespace line { +namespace u16::line { class Reader { public: @@ -65,8 +59,6 @@ class Reader { [[nodiscard]] std::unique_ptr<Reader> open(std::unique_ptr<u16::Reader> reader, size_t max_len = 8192); -} // namespace line - -} // namespace u16 +} // namespace u16::line #endif // ULINE_HH |
