diff options
Diffstat (limited to 'manager.cpp')
-rw-r--r-- | manager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manager.cpp b/manager.cpp index b7a1634..00bf833 100644 --- a/manager.cpp +++ b/manager.cpp @@ -145,10 +145,11 @@ void Manager::notify(std::string path, Object object) void Manager::signal(sdbusplus::message::message &msg, auto &args) { auto &filter = *std::get<1>(args); - auto &action = *std::get<2>(args); + auto &actions = std::get<2>(args); if(filter(msg, *this)) { - action(*this); + for (auto &action: actions) + (*action)(*this); } } |