commit | 8b173cc231a0c8698814a195d2482d6ecd53254c | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Wed Aug 21 17:54:12 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Wed Aug 21 17:54:12 2013 -0700 |
tree | b301f296bffb71bd69ed53476cf35a84dca2ecc1 | |
parent | 48917f01a029c3fefd58feaa3f8f9cf99c1b587a [diff] [blame] |
Make onReceivedElement take const unsigned char *
diff --git a/ndn-cpp/node.cpp b/ndn-cpp/node.cpp index b8773fc..8a46384 100644 --- a/ndn-cpp/node.cpp +++ b/ndn-cpp/node.cpp
@@ -97,7 +97,7 @@ } } -void Node::onReceivedElement(unsigned char *element, unsigned int elementLength) +void Node::onReceivedElement(const unsigned char *element, unsigned int elementLength) { BinaryXmlDecoder decoder(element, elementLength);