commit | 4a48e67a5a3a46ea9e2cd540132cfc2c27a54d3c | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Wed Jul 31 10:41:07 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Wed Jul 31 10:41:07 2013 -0700 |
tree | c65a7e76b7aec6e7f78e5f63a0974170b95a3102 | |
parent | f0fea00b8fa605bb6245f28035d2736453f031e7 [diff] [blame] |
In NDN constructor, put host and port args first.
diff --git a/ndn-cpp/NDN.hpp b/ndn-cpp/NDN.hpp index 8f6f7bb..9c8f952 100644 --- a/ndn-cpp/NDN.hpp +++ b/ndn-cpp/NDN.hpp
@@ -17,7 +17,7 @@ class NDN : public ElementListener { public: - NDN(const ptr_lib::shared_ptr<Transport> &transport, const char *host, unsigned short port) + NDN(const char *host, unsigned short port, const ptr_lib::shared_ptr<Transport> &transport) : transport_(transport), host_(host), port_(port) { }