<p dir="ltr">John,</p>
<p dir="ltr">Try this:</p>
<p dir="ltr">auto tempD = make_shared <ndn::Data> ();<br>
.<br>
.<br>
.<br>
myContentStore.insert(tempD);</p>
<p dir="ltr">I'm on sell phone right now and just wrote from the memory. But I think this will do.</p>
<p dir="ltr">Regards,<br>
Sabet</p>
<div class="gmail_quote">On Nov 9, 2016 6:23 PM, "John Baugh" <<a href="mailto:jpbaugh@umich.edu">jpbaugh@umich.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Any ideas?  I sent the full code in a previous e-mail.  But here is the offending section:<br><br><b>     ndn::Data tempD;<br>     string testStr = "Testjpb";<br>     tempD.setName(ns3::ndn::Name(<wbr>testStr));<br>     //put in Cs?<br>     myContentStore.insert(tempD); </b><br><br></div>Shouldn't I just be able to do this?  Assuming I retrieved a Content Store?<br><br></div>Thanks,<br><br></div>John<br></div>
<br>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br></blockquote></div>