From ce40641bafc0c06cee84684a554a5d252c5c8b88 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Mon, 25 Apr 2022 11:06:09 +0200 Subject: [PATCH] Squashed commit of the following: commit 2c3b225972d2d1182133ed9f55bd8aaa58650338 Author: Thomas Sommer Date: Mon Apr 25 10:54:10 2022 +0200 removed unused irouter instanciation (#537) commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48 Author: Gabriel Arjones Date: Thu Apr 14 17:55:27 2022 -0300 cmake: write an arch independent version file (#534) --- include/etl/message_bus.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/etl/message_bus.h b/include/etl/message_bus.h index 3c852f31..dd2f4b74 100644 --- a/include/etl/message_bus.h +++ b/include/etl/message_bus.h @@ -188,8 +188,6 @@ namespace etl // Must be an addressed message. default: { - router_list_t::iterator irouter = router_list.begin(); - // Find routers with the id. ETL_OR_STD::pair range = etl::equal_range(router_list.begin(), router_list.end(), @@ -209,7 +207,7 @@ namespace etl // Do any message buses. // These are always at the end of the list. - irouter = etl::lower_bound(router_list.begin(), + router_list_t::iterator irouter = etl::lower_bound(router_list.begin(), router_list.end(), etl::imessage_bus::MESSAGE_BUS, compare_router_id());