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.hpp b/ndn-cpp/node.hpp index a7e5548..461fe26 100644 --- a/ndn-cpp/node.hpp +++ b/ndn-cpp/node.hpp
@@ -78,7 +78,7 @@ const ptr_lib::shared_ptr<Transport> &getTransport() { return transport_; } - virtual void onReceivedElement(unsigned char *element, unsigned int elementLength); + void onReceivedElement(const unsigned char *element, unsigned int elementLength); void shutdown();