From 22f6534081acfabdab4956d337604a21e7da5b64 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 22 Sep 2026 18:56:44 +0200 Subject: lib: generalize concepts --- ttwhy/io/readers.cppm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ttwhy/io/readers.cppm') diff --git a/ttwhy/io/readers.cppm b/ttwhy/io/readers.cppm index d15cc7a..56ce2b0 100644 --- a/ttwhy/io/readers.cppm +++ b/ttwhy/io/readers.cppm @@ -16,7 +16,8 @@ import ttwhy.scanners; namespace ttwhy::io { - export template + export template AppRouter> auto read_events(InputStream & stream, AppRouter & router) -> asio::awaitable { using namespace asio::experimental::awaitable_operators; @@ -32,8 +33,7 @@ namespace ttwhy::io queue.push_back(event); }; - using terminal_policy = ttwhy::scanners::associated_terminal_policy_t; - auto scanner = scanners::terminal_scanner{sink}; + auto scanner = scanners::terminal_scanner{sink}; auto raw_buffer = std::array{}; -- cgit v1.2.3