From f9fbc056e30e8d26eab0967fc4f76846143bb7ee Mon Sep 17 00:00:00 2001 From: Luca Niccoli Date: Wed, 4 Mar 2026 12:55:40 +0100 Subject: [PATCH] Help GCC 4.8 distinguish between Functions and Executors --- include/asio/detail/work_dispatcher.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/asio/detail/work_dispatcher.hpp b/include/asio/detail/work_dispatcher.hpp index 4e1baa068d..9e7a33e0a1 100644 --- a/include/asio/detail/work_dispatcher.hpp +++ b/include/asio/detail/work_dispatcher.hpp @@ -40,8 +40,13 @@ struct empty_work_function } }; -template +template struct work_result +{ +}; + +template +struct work_result()>>> { typedef decay_t()>> type; };