summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
commit78744020528ef6231e1606bbe2e8c53011c77935 (patch)
tree3055821a8dabab37c660fdc3b99309f970158b69 /src/net/sdltcpnet.cpp
parentc0d5142d1ed98b62ad87603fa9d2620dce256bd7 (diff)
downloadplus-78744020528ef6231e1606bbe2e8c53011c77935.tar.gz
plus-78744020528ef6231e1606bbe2e8c53011c77935.tar.bz2
plus-78744020528ef6231e1606bbe2e8c53011c77935.tar.xz
plus-78744020528ef6231e1606bbe2e8c53011c77935.zip
add const to net classes.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r--src/net/sdltcpnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index cb6d6145e..4ea659ecf 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -146,7 +146,7 @@ int TcpNet::delSocket(const TcpNet::SocketSet set, const TcpNet::Socket sock)
return SDLNet_TCP_DelSocket(set, sock);
}
-void TcpNet::freeSocketSet(TcpNet::SocketSet set)
+void TcpNet::freeSocketSet(const TcpNet::SocketSet set)
{
SDLNet_FreeSocketSet(set);
}