table: StrategyChoice no longer supports installed instances
All strategies should be registered in the strategy registry.
refs #3868
Change-Id: Ie89b0ffaf9943e591f9f2d80546b013d5cc16ff8
diff --git a/daemon/table/strategy-choice-entry.hpp b/daemon/table/strategy-choice-entry.hpp
index c6a1326..e1f1eb3 100644
--- a/daemon/table/strategy-choice-entry.hpp
+++ b/daemon/table/strategy-choice-entry.hpp
@@ -67,21 +67,16 @@
fw::Strategy&
getStrategy() const
{
- BOOST_ASSERT(m_strategyPtr != nullptr);
- return *m_strategyPtr;
+ BOOST_ASSERT(m_strategy != nullptr);
+ return *m_strategy;
}
- DEPRECATED(
- void
- setStrategy(fw::Strategy& strategy));
-
void
setStrategy(unique_ptr<fw::Strategy> strategy);
private:
Name m_prefix;
unique_ptr<fw::Strategy> m_strategy;
- fw::Strategy* m_strategyPtr;
name_tree::Entry* m_nameTreeEntry;
friend class name_tree::Entry;