mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-16 00:46:03 +08:00
Moved imessage_bus constructor to protected.
This commit is contained in:
parent
740e8b4dd6
commit
d3752dd6b4
@ -83,15 +83,6 @@ namespace etl
|
||||
|
||||
public:
|
||||
|
||||
//*******************************************
|
||||
/// Constructor.
|
||||
//*******************************************
|
||||
imessage_bus(router_list_t& list)
|
||||
: imessage_router(etl::imessage_router::MESSAGE_BUS),
|
||||
router_list(list)
|
||||
{
|
||||
}
|
||||
|
||||
using etl::imessage_router::receive;
|
||||
|
||||
//*******************************************
|
||||
@ -299,6 +290,17 @@ namespace etl
|
||||
return router_list.clear();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
//*******************************************
|
||||
/// Constructor.
|
||||
//*******************************************
|
||||
imessage_bus(router_list_t& list)
|
||||
: imessage_router(etl::imessage_router::MESSAGE_BUS),
|
||||
router_list(list)
|
||||
{
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
//*******************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user