table: don't share Strategy instance among StrategyChoice entries
For a Strategy type registered in the strategy registry,
a new instance is created for each StrategyChoice entry that uses it.
StrategyChoice::install is deprecated. An installed strategy instance
is still shared among StrategyChoice entries that use it. This will
be removed after unit tests switch to use the strategy registry.
refs #3868
Change-Id: Ibca685e6b6668f64fa1a503e3575867e8babdfe1
diff --git a/daemon/fw/access-strategy.cpp b/daemon/fw/access-strategy.cpp
index ace5426..45235d8 100644
--- a/daemon/fw/access-strategy.cpp
+++ b/daemon/fw/access-strategy.cpp
@@ -230,6 +230,7 @@
AccessStrategy::updateMeasurements(const Face& inFace, const Data& data,
const RttEstimator::Duration& rtt)
{
+ ///\todo move FaceInfoTable out of AccessStrategy instance, to Measurements or somewhere else
FaceInfo& fi = m_fit[inFace.getId()];
fi.rtt.addMeasurement(rtt);