table: clear StrategyInfo during strategy change
refs #1234
Change-Id: Idd5383a5f8bc706aceea5a630b93cd4ab9bd2c3a
diff --git a/daemon/table/name-tree-entry.hpp b/daemon/table/name-tree-entry.hpp
index 5661961..b411f79 100644
--- a/daemon/table/name-tree-entry.hpp
+++ b/daemon/table/name-tree-entry.hpp
@@ -94,6 +94,9 @@
std::vector<shared_ptr<pit::Entry> >&
getPitEntries();
+ const std::vector<shared_ptr<pit::Entry> >&
+ getPitEntries() const;
+
/**
* \brief Erase a PIT Entry
* \details The address of this PIT Entry is required
@@ -184,6 +187,12 @@
return m_pitEntries;
}
+inline const std::vector<shared_ptr<pit::Entry> >&
+Entry::getPitEntries() const
+{
+ return m_pitEntries;
+}
+
inline shared_ptr<measurements::Entry>
Entry::getMeasurementsEntry() const
{