summaryrefslogtreecommitdiff
path: root/src/net/netcomputer.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-28 11:52:08 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-02 21:45:54 +0200
commit0261eb73e5588f5732aef5df753311d488c45d06 (patch)
treed641b0cad81ea58b8d8680b002197a4f592ef4a9 /src/net/netcomputer.cpp
parent23ccc8080a5283adce9f06909fc89b63d0e25452 (diff)
downloadmanaserv-0261eb73e5588f5732aef5df753311d488c45d06.tar.gz
manaserv-0261eb73e5588f5732aef5df753311d488c45d06.tar.bz2
manaserv-0261eb73e5588f5732aef5df753311d488c45d06.tar.xz
manaserv-0261eb73e5588f5732aef5df753311d488c45d06.zip
Fixed a bunch of cppcheck warnings
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 8834f4a6..5d86f13a 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);
}