commit | 60eaae35a1e3d35af0cc4aec4335c3824e86bd56 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Jul 30 15:46:19 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Jul 30 15:46:19 2013 -0700 |
tree | 129e6d9eb0de3603048c4812b57c770435b9c4f8 | |
parent | 3cd04e884f0377e1146eb1f9b2f153e1aa749ede [diff] [blame] |
In send, use const unsigned char *
diff --git a/ndn-cpp/transport/UdpTransport.hpp b/ndn-cpp/transport/UdpTransport.hpp index a24a4dc..eab7232 100644 --- a/ndn-cpp/transport/UdpTransport.hpp +++ b/ndn-cpp/transport/UdpTransport.hpp
@@ -26,7 +26,7 @@ */ virtual void connect(NDN &ndn); - virtual void send(unsigned char *data, unsigned int dataLength); + virtual void send(const unsigned char *data, unsigned int dataLength); virtual void tempReceive();