[ndnSIM] Still getting an exception (bad weak_ptr)
Muhammad Hosain Abdollahi Sabet
mhasabet at gmail.com
Wed Nov 9 08:29:35 PST 2016
John,
Try this:
auto tempD = make_shared <ndn::Data> ();
.
.
.
myContentStore.insert(tempD);
I'm on sell phone right now and just wrote from the memory. But I think
this will do.
Regards,
Sabet
On Nov 9, 2016 6:23 PM, "John Baugh" <jpbaugh at umich.edu> wrote:
> Any ideas? I sent the full code in a previous e-mail. But here is the
> offending section:
>
>
>
>
>
> * ndn::Data tempD; string testStr = "Testjpb";
> tempD.setName(ns3::ndn::Name(testStr)); //put in Cs?
> myContentStore.insert(tempD); *
>
> Shouldn't I just be able to do this? Assuming I retrieved a Content Store?
>
> Thanks,
>
> John
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161109/3731b605/attachment.html>
More information about the ndnSIM
mailing list