table: rename StrategyInfoHost::getOrCreateStrategyInfo to insertStrategyInfo
refs #3205
Change-Id: Icd3ab9e4fdb5a2ffc39a8d0e0c713e22f13fe28c
diff --git a/daemon/fw/asf-measurements.cpp b/daemon/fw/asf-measurements.cpp
index c15aca0..c7f68c9 100644
--- a/daemon/fw/asf-measurements.cpp
+++ b/daemon/fw/asf-measurements.cpp
@@ -228,7 +228,7 @@
// Set or update entry lifetime
extendLifetime(*me);
- shared_ptr<NamespaceInfo> info = me->getOrCreateStrategyInfo<NamespaceInfo>();
+ shared_ptr<NamespaceInfo> info = me->insertStrategyInfo<NamespaceInfo>();
BOOST_ASSERT(info != nullptr);
return info;
@@ -252,7 +252,7 @@
// Set or update entry lifetime
extendLifetime(*me);
- shared_ptr<NamespaceInfo> info = me->getOrCreateStrategyInfo<NamespaceInfo>();
+ shared_ptr<NamespaceInfo> info = me->insertStrategyInfo<NamespaceInfo>();
BOOST_ASSERT(info != nullptr);
return *info;