summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 20:13:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:57 +0300
commit36c45ae7d8d2577a900ec266b64448d4b488013d (patch)
tree419024ce46e507c2abb0578d15d787093556b246 /src/net
parent864e023e0faeca5aa662023a54af7e4f9797fafa (diff)
downloadplus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.gz
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.bz2
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.xz
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.zip
Move cast macroses into separate file.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/bankrecv.cpp2
-rw-r--r--src/net/messageout.h2
-rw-r--r--src/net/packetcounters.cpp2
-rw-r--r--src/net/updatetypeoperators.cpp2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/bankrecv.cpp b/src/net/eathena/bankrecv.cpp
index 9f566d5a4..12b17727b 100644
--- a/src/net/eathena/bankrecv.cpp
+++ b/src/net/eathena/bankrecv.cpp
@@ -28,6 +28,8 @@
#include "net/messagein.h"
+#include "utils/cast.h"
+
#include "debug.h"
namespace EAthena
diff --git a/src/net/messageout.h b/src/net/messageout.h
index 247cf31b9..1be005220 100644
--- a/src/net/messageout.h
+++ b/src/net/messageout.h
@@ -25,6 +25,8 @@
#include "enums/simpletypes/beingid.h"
+#include "utils/cast.h"
+
#include <string>
#include "localconsts.h"
diff --git a/src/net/packetcounters.cpp b/src/net/packetcounters.cpp
index 4170c2cf0..6d0a8bbf6 100644
--- a/src/net/packetcounters.cpp
+++ b/src/net/packetcounters.cpp
@@ -22,6 +22,8 @@
#include "net/packetcounters.h"
+#include "utils/cast.h"
+
#include "debug.h"
extern volatile time_t cur_time;
diff --git a/src/net/updatetypeoperators.cpp b/src/net/updatetypeoperators.cpp
index 8ba8224a0..1ee52455c 100644
--- a/src/net/updatetypeoperators.cpp
+++ b/src/net/updatetypeoperators.cpp
@@ -20,6 +20,8 @@
#include "net/updatetypeoperators.h"
+#include "utils/cast.h"
+
#include "debug.h"
int operator&(const UpdateTypeT &a, const UpdateTypeT &b)