First step in reimplementing CcnxPit. Everything is broken as of right now
diff --git a/model/ccnx-bestroute-strategy.cc b/model/ccnx-bestroute-strategy.cc
index 8fc6f1e..3295d31 100644
--- a/model/ccnx-bestroute-strategy.cc
+++ b/model/ccnx-bestroute-strategy.cc
@@ -28,6 +28,7 @@
#include "ns3/assert.h"
#include "ns3/log.h"
+#include <boost/foreach.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
namespace ll = boost::lambda;
@@ -99,7 +100,7 @@
continue;
}
- m_pit->modify (m_pit->iterator_to (pitEntry),
+ m_pit->modify (pitEntry,
ll::bind(&CcnxPitEntry::AddOutgoing, ll::_1, metricFace.m_face));
Ptr<Packet> packetToSend = packet->Copy ();