From 2d1fc5c0e47979046a1360c3312eb29d2ed78356 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Thu, 13 Oct 2022 19:50:28 +0900 Subject: [PATCH] Revert get_error_handler --- include/mqtt/callable_overlay.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mqtt/callable_overlay.hpp b/include/mqtt/callable_overlay.hpp index 6d68f6ab..41ca3d83 100644 --- a/include/mqtt/callable_overlay.hpp +++ b/include/mqtt/callable_overlay.hpp @@ -2019,7 +2019,7 @@ struct callable_overlay final : public Impl * @brief Get error handler * @return handler */ - error_handler const& get_error_handler() const { + error_handler get_error_handler() const { return h_error_; }