diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-05-31 19:46:52 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-19 22:54:42 -0400 |
commit | 1ada93be00378c94ff14bec8c2c7f5bbd85f72b0 (patch) | |
tree | 80e14fb0b9a16b8b9f3b00ffbc714621129db10e | |
parent | d9c1fabbed87b29d96f0afb05bdc4a1d61c2ced4 (diff) | |
download | phosphor-dbus-monitor-1ada93be00378c94ff14bec8c2c7f5bbd85f72b0.tar.gz phosphor-dbus-monitor-1ada93be00378c94ff14bec8c2c7f5bbd85f72b0.zip |
Remove use of std::cref
Prefer implicit conversion for readability.
Change-Id: I64d04b926edea0531a5414a416c04b36ae3d5e2a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | src/templates/generated.mako.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/templates/generated.mako.hpp b/src/templates/generated.mako.hpp index 51462b1..b8ad523 100644 --- a/src/templates/generated.mako.hpp +++ b/src/templates/generated.mako.hpp @@ -113,15 +113,15 @@ struct ConfigPropertyIndicies { PropertyIndex::key_type { - std::cref(ConfigPaths::get()[${i[0]}]), - std::cref(ConfigInterfaces::get()[${i[2]}]), - std::cref(ConfigProperties::get()[${i[3]}]) + ConfigPaths::get()[${i[0]}], + ConfigInterfaces::get()[${i[2]}], + ConfigProperties::get()[${i[3]}] }, PropertyIndex::mapped_type { - std::cref(ConfigMeta::get()[${i[1]}]), - std::cref(ConfigMeta::get()[${i[4]}]), - std::ref(ConfigPropertyStorage::get()[${i[5]}]) + ConfigMeta::get()[${i[1]}], + ConfigMeta::get()[${i[4]}], + ConfigPropertyStorage::get()[${i[5]}] }, }, % endfor |