BUG: Solving the problem that was crashing the simulator
diff --git a/model/pit/ccnx-pit-impl.cc b/model/pit/ccnx-pit-impl.cc
index 3699a1e..c57a44c 100644
--- a/model/pit/ccnx-pit-impl.cc
+++ b/model/pit/ccnx-pit-impl.cc
@@ -71,7 +71,7 @@
MakeUintegerChecker<uint32_t> ())
;
- return TypeId ();
+ return tid;
}
template<>
@@ -90,7 +90,7 @@
MakeUintegerChecker<uint32_t> ())
;
- return TypeId ();
+ return tid;
}
template<>
@@ -109,9 +109,17 @@
MakeUintegerChecker<uint32_t> ())
;
- return TypeId ();
+ return tid;
}
+// template<class Policy>
+// TypeId
+// CcnxPitImpl<Policy>::GetTypeId ()
+// {
+// static TypeId tid = TypeId ("ns3::UnknownPitPolicy");
+
+// return tid;
+// }
// CcnxPitEntryImpl::CcnxPitEntryImpl (CcnxPit &pit,
// Ptr<const CcnxInterestHeader> header,