table: MeasurementsAccessor for strategy
refs #1276
Change-Id: Idec8f615c726f51612236a55a7532fabeb81a32d
diff --git a/daemon/table/fib-entry.cpp b/daemon/table/fib-entry.cpp
index 5b64e6b..61b9827 100644
--- a/daemon/table/fib-entry.cpp
+++ b/daemon/table/fib-entry.cpp
@@ -5,7 +5,6 @@
*/
#include "fib-entry.hpp"
-#include <algorithm>
namespace nfd {
namespace fib {
@@ -62,6 +61,12 @@
std::sort(m_nextHops.begin(), m_nextHops.end(), &compare_NextHop_cost);
}
+void
+Entry::setStrategy(shared_ptr<fw::Strategy> strategy)
+{
+ m_strategy = strategy;
+}
+
} // namespace fib
} // namespace nfd