summaryrefslogtreecommitdiffstats
path: root/src/event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.hpp')
-rw-r--r--src/event.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/event.hpp b/src/event.hpp
index ad02986..b5f1e90 100644
--- a/src/event.hpp
+++ b/src/event.hpp
@@ -46,10 +46,11 @@ class EventBase : public IndexedCallback
for (const auto& n : index)
{
const auto& path = std::get<pathIndex>(n.first);
- const auto& propertyMeta = std::get<propertyIndex>(n.first);
- const auto& value = std::get<valueIndex>(n.second);
+ const auto& propertyMeta = std::get<metaIndex>(n.first);
+ const auto& storage = std::get<storageIndex>(n.second);
+ const auto& value = std::get<valueIndex>(storage.get());
- if (!value.get().empty())
+ if (!value.empty())
{
createEvent(
path,
OpenPOWER on IntegriCloud