Small corrections
diff --git a/model/forwarding-strategy/fw-stats.h b/model/forwarding-strategy/fw-stats.h
index 67f2763..69149f3 100644
--- a/model/forwarding-strategy/fw-stats.h
+++ b/model/forwarding-strategy/fw-stats.h
@@ -46,6 +46,10 @@
*/
FwStats ();
+ inline
+ const ::ndnSIM::StatsTree &
+ GetStatsTree () const;
+
virtual void
OnInterest (const Ptr<CcnxFace> &face,
Ptr<CcnxInterestHeader> &header,
@@ -112,6 +116,12 @@
typedef BestRoute super;
};
+const ::ndnSIM::StatsTree &
+FwStats::GetStatsTree () const
+{
+ return m_stats;
+}
+
} // namespace ndnSIM
} // namespace ns3