summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorjfhumann <j.f.humann@gmail.com>2014-04-19 17:53:02 +0200
committerjfhumann <j.f.humann@gmail.com>2014-04-19 17:53:02 +0200
commit4dd7610381c5a9cbd29b771e6c98b5d500774ac6 (patch)
tree0a0c76f587dcafd040d618674bdc914ebf7c4dcf /src/Server.cpp
parentFixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does. (diff)
downloadcuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar.gz
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar.bz2
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar.lz
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar.xz
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.tar.zst
cuberite-4dd7610381c5a9cbd29b771e6c98b5d500774ac6.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index fa4a1a133..bfb1b1cbb 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -275,7 +275,7 @@ bool cServer::InitServer(cIniFile & a_SettingsIni)
-int cServer::GetNumPlayers(void)
+int cServer::GetNumPlayers(void) const
{
cCSLock Lock(m_CSPlayerCount);
return m_PlayerCount;