Renamed parameter to avoid hiding symbol 'socket(int, int, int)' (issued by PC-lint)
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sun, 4 Sep 2011 04:15:56 +0000 (01:15 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sun, 4 Sep 2011 04:15:56 +0000 (01:15 -0300)
src/host/networkinterface.hpp

index 03dff0d..95bf1de 100644 (file)
@@ -49,7 +49,7 @@ public:
 
     NetworkInterface(
             const std::string &nic_name,
-            SocketType &socket
+            SocketType &boost_socket
     );
 
     bool bind();
@@ -74,10 +74,10 @@ private:
 template<typename SocketType>
 NetworkInterface<SocketType>::NetworkInterface(
         const std::string &nic_name,
-        SocketType &socket
+        SocketType &boost_socket
 ) :
     Name( nic_name ),
-    Socket( socket )
+    Socket( boost_socket )
 {
     BOOST_ASSERT( !nic_name.empty() );
 }