diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-02-26 09:14:31 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-27 18:36:05 +0000 |
commit | 1abcb06bedadfbd40b4ec6f7e5f6a95021df3c96 (patch) | |
tree | 119da3b2d0af7e31a42dc29f8ec7dc79a85f9af3 /src/event.hpp | |
parent | 3c5318d843651dd18a6b8b0da67e3aaef810ca91 (diff) | |
download | phosphor-dbus-monitor-1abcb06bedadfbd40b4ec6f7e5f6a95021df3c96.tar.gz phosphor-dbus-monitor-1abcb06bedadfbd40b4ec6f7e5f6a95021df3c96.zip |
Add constants for tuple fields
Add constants for use with std::get.
Tested: Run unit tests
Change-Id: Ic09c13feeda69d61c98f63d227cae8f08d1bf50e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'src/event.hpp')
-rw-r--r-- | src/event.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.hpp b/src/event.hpp index b5f1e90..b9f5167 100644 --- a/src/event.hpp +++ b/src/event.hpp @@ -46,7 +46,7 @@ class EventBase : public IndexedCallback for (const auto& n : index) { const auto& path = std::get<pathIndex>(n.first); - const auto& propertyMeta = std::get<metaIndex>(n.first); + const auto& propertyMeta = std::get<propertyIndex>(n.first); const auto& storage = std::get<storageIndex>(n.second); const auto& value = std::get<valueIndex>(storage.get()); |