From 655b20bae493a517bd2163a1af379fd57abd3457 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 11 May 2021 12:09:17 -0400 Subject: Add Cleared event for implementing refresh without a race --- src/event_to_string.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/event_to_string.cpp') diff --git a/src/event_to_string.cpp b/src/event_to_string.cpp index 4b23875..c8a6c42 100644 --- a/src/event_to_string.cpp +++ b/src/event_to_string.cpp @@ -56,6 +56,8 @@ struct EventPrinter { PATCHAGE_UNREACHABLE(); } + std::string operator()(const event::Cleared&) { return "Cleared"; } + std::string operator()(const event::DriverAttached& event) { return fmt::format("Attached to {}", (*this)(event.type)); -- cgit v1.2.1