summaryrefslogtreecommitdiffstats
path: root/src/net/netcomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/netcomputer.cpp')
-rw-r--r--src/net/netcomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netcomputer.cpp b/src/net/netcomputer.cpp
index 8834f4a..5d86f13 100644
--- a/src/net/netcomputer.cpp
+++ b/src/net/netcomputer.cpp
@@ -34,7 +34,7 @@ NetComputer::NetComputer(ENetPeer *peer):
{
}
-bool NetComputer::isConnected()
+bool NetComputer::isConnected() const
{
return (mPeer->state == ENET_PEER_STATE_CONNECTED);
}