summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:50:35 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:50:35 +0000
commitc32734fb23bb7c811076d1f4acc819020533e89c (patch)
tree39db731b922e4b6d7ea4c07a5d93c50db433dd2e /include/socket.h
parent9efd48a3bd10d72d4f9cb1823aa7fbaefaece374 (diff)
Fix some ICC-found warnings and remove unused #define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11639 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index f97630d04..5ca9fc18f 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -178,7 +178,7 @@ class CoreExport ListenSocketBase : public EventHandler
const std::string& GetDescription() { return desc; }
/** Get port number for socket
*/
- const int GetPort() { return bind_port; }
+ int GetPort() const { return bind_port; }
/** Get IP address socket is bound to
*/