table: StrategyInfoHost stores StrategyInfo as unique_ptr
refs #3205
Change-Id: Ia194ca94717347848d257096549cfec5df1ba6c9
diff --git a/tests/daemon/fw/ncc-strategy.t.cpp b/tests/daemon/fw/ncc-strategy.t.cpp
index f3b34b6..cc32201 100644
--- a/tests/daemon/fw/ncc-strategy.t.cpp
+++ b/tests/daemon/fw/ncc-strategy.t.cpp
@@ -341,7 +341,7 @@
topo.addIntervalConsumer(consumer->getClientFace(), "ndn:/P",
time::milliseconds(100), 300);
- auto getMeInfo = [&] () -> shared_ptr<NccStrategy::MeasurementsEntryInfo> {
+ auto getMeInfo = [&] () -> NccStrategy::MeasurementsEntryInfo* {
Measurements& measurements = topo.getForwarder(nodeA).getMeasurements();
measurements::Entry* me = measurements.findExactMatch("ndn:/P");
return me == nullptr ? nullptr : me->getStrategyInfo<NccStrategy::MeasurementsEntryInfo>();