From e2e1c1541d1d0d66cfaea4060edf6ca99adf06f0 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 24 Jan 2020 09:49:50 -0800 Subject: [PATCH] construct: Save the count of handlers the io_service ran for convenience/diagnostic. --- construct/construct.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/construct/construct.cc b/construct/construct.cc index 353cf2977..60359d5e6 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -312,7 +312,10 @@ noexcept try // 1 // Execution. // Blocks until a clean exit from a quit() or an exception comes out of it. - ios.run(); + const size_t handled + { + ios.run() + }; // 13 // The smoketest is enabled if the first value is true; then all of the