Code style: Declare (Type& value) instead of (Type &value)
diff --git a/ndn-cpp/transport/tcp-transport.hpp b/ndn-cpp/transport/tcp-transport.hpp
index b9c12bb..a13a1da 100644
--- a/ndn-cpp/transport/tcp-transport.hpp
+++ b/ndn-cpp/transport/tcp-transport.hpp
@@ -34,7 +34,7 @@
* Get the host given to the constructor.
* @return A string reference for the host.
*/
- const std::string &getHost() const { return host_; }
+ const std::string& getHost() const { return host_; }
/**
* Get the port given to the constructor.
@@ -61,7 +61,7 @@
* @param connectionInfo A reference to a TcpTransport::ConnectionInfo.
* @param elementListener Not a shared_ptr because we assume that it will remain valid during the life of this object.
*/
- virtual void connect(const Transport::ConnectionInfo &connectionInfo, ElementListener &elementListener);
+ virtual void connect(const Transport::ConnectionInfo& connectionInfo, ElementListener& elementListener);
/**
* Set data to the host