Removed duplicated Holder adapters
Refactor copy/pasted action/filter/interface object
adapter types into a single templated framework.
Change-Id: Iafbd814572a7db13fddc5314617e310fe5f0a062
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/manager.cpp b/manager.cpp
index c62c288..b7a1634 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -144,8 +144,8 @@
void Manager::signal(sdbusplus::message::message &msg, auto &args)
{
- auto &filter = std::get<1>(args);
- auto &action = std::get<2>(args);
+ auto &filter = *std::get<1>(args);
+ auto &action = *std::get<2>(args);
if(filter(msg, *this)) {
action(*this);