Bug #2854
closed
Added by Junxiao Shi over 9 years ago.
Updated over 9 years ago.
Description
Steps to reproduce:
echo 'HELLO WORLD' | ndnpoke ndn:/localhost/demo/hello
ndnpeek -p ndn:/localhost/demo/hello
Actual: ndnpoke prints Face::put WARNING: the supplied Data should be created using make_shared<Data>()
Expected: no such error
- Related to Task #1775: Change Face::put to recommend/require shared_ptr<Data> added
Should we reconsider #1775 and remove the warning? In theory, copying data packet is not a big deal...
note-2 question is out of scope of this issue. Please open a separate issue for discussion.
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
- Status changed from Code review to Closed
Also available in: Atom
PDF