<div dir="ltr"><div style="font-size:12.8px">Dear all,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm working with ndnSIM 1.0. I have typed  in insert method of lru-policy.h :</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>Ptr<Node> node = item->payload ()->GetContentStore ()->template GetObject<Node> ();</div><div>std::cout << "At \t"<< Simulator::Now().GetSeconds() << "\t"<<"ContentObject: " << item->payload ()->GetName () << " has been inserted to Node# " << node->GetId ()<<std::endl;<br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I get the following errors only in lru-policy.h. When I typed these lines in fifo-policy.h or random-policy.h it works. I don't know which is the problem with lru-policy.h</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">../src/ndnSIM/model/pit/../../<wbr>utils/trie/lru-policy.h:100:<wbr>89: error: ‘class ns3::ndn::pit::EntryImpl<ns3::<wbr>ndn::pit::PitImpl<ns3::ndn::<wbr>ndnSIM::multi_policy_traits<<wbr>boost::mpl::vector2<ns3::ndn::<wbr>ndnSIM::lru_policy_traits, ns3::ndn::ndnSIM::aggregate_<wbr>stats_policy_traits> > > >’ has no member named ‘GetName’</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">../src/ndnSIM/model/pit/../../<wbr>utils/trie/lru-policy.h:98:61: error: ‘class ns3::ndn::pit::EntryImpl<ns3::<wbr>ndn::pit::PitImpl<ns3::ndn::<wbr>ndnSIM::multi_policy_traits<<wbr>boost::mpl::vector2<ns3::ndn::<wbr>ndnSIM::lru_policy_traits, ns3::ndn::ndnSIM::aggregate_<wbr>stats_policy_traits> > > >’ has no member named ‘GetContentStore’</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you for your help.</div>
</div>