diff options
Diffstat (limited to 'include/socket.h')
-rw-r--r-- | include/socket.h | 2 |
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 */ |