summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2014-07-10 21:03:55 +0200
committerAndrei Karas <akaras@inbox.ru>2014-07-19 18:21:30 +0300
commite18ed69469568337283d92e38d44bfda86532b88 (patch)
treedf6c89081509e17e82aa96eaffab70790c8b0587 /src/net
parentcf351788fe4326ea04936d63c612465c16f85e1e (diff)
downloadmanaverse-e18ed69469568337283d92e38d44bfda86532b88.tar.gz
manaverse-e18ed69469568337283d92e38d44bfda86532b88.tar.bz2
manaverse-e18ed69469568337283d92e38d44bfda86532b88.tar.xz
manaverse-e18ed69469568337283d92e38d44bfda86532b88.zip
fix warnings from mplint
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ipc.cpp2
-rw-r--r--src/net/ipc.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp
index 531ce4435..4db174e7e 100644
--- a/src/net/ipc.cpp
+++ b/src/net/ipc.cpp
@@ -28,6 +28,8 @@
#include "logger.h"
+#include "debug.h"
+
IPC *ipc = nullptr;
IPC::IPC(unsigned short port) :
diff --git a/src/net/ipc.h b/src/net/ipc.h
index c118c219a..337e19ce8 100644
--- a/src/net/ipc.h
+++ b/src/net/ipc.h
@@ -24,7 +24,7 @@
#include "net/sdltcpnet.h"
#include <SDL_thread.h>
-class IPC
+class IPC final
{
public:
/**