Squashed commit of the following:

commit 2c3b225972d2d1182133ed9f55bd8aaa58650338
Author: Thomas Sommer <thomas@tomsaw.de>
Date:   Mon Apr 25 10:54:10 2022 +0200

    removed unused irouter instanciation (#537)

commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48
Author: Gabriel Arjones <arjones@arjones.com>
Date:   Thu Apr 14 17:55:27 2022 -0300

    cmake: write an arch independent version file (#534)
This commit is contained in:
John Wellbelove 2022-04-25 11:06:09 +02:00
parent 90e4316f8f
commit ce40641baf

View File

@ -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<router_list_t::iterator, router_list_t::iterator> 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());