summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 23:50:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 23:50:42 +0300
commit16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1 (patch)
tree1db34fd6c50a1421ac186a3652f1e43494881286 /src/resources/db
parentf5c004a94061cab1685fa063b039dc2eec29cbbe (diff)
downloadplus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.gz
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.bz2
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.xz
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.zip
Add vector.h for use different vectors.
Also replace <vector> include into "utils/vector.h"
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/chardb.h4
-rw-r--r--src/resources/db/itemoptiondb.h3
-rw-r--r--src/resources/db/networkdb.h3
-rw-r--r--src/resources/db/questdb.h3
-rw-r--r--src/resources/db/statdb.h4
-rw-r--r--src/resources/db/weaponsdb.h2
6 files changed, 11 insertions, 8 deletions
diff --git a/src/resources/db/chardb.h b/src/resources/db/chardb.h
index 9715497f1..083e7c12d 100644
--- a/src/resources/db/chardb.h
+++ b/src/resources/db/chardb.h
@@ -24,9 +24,9 @@
#include "utils/xml.h"
-#include "resources/beingslot.h"
+#include "utils/vector.h"
-#include <vector>
+#include "resources/beingslot.h"
/**
* Char information database.
diff --git a/src/resources/db/itemoptiondb.h b/src/resources/db/itemoptiondb.h
index 9e088c76f..a4fb82638 100644
--- a/src/resources/db/itemoptiondb.h
+++ b/src/resources/db/itemoptiondb.h
@@ -23,9 +23,10 @@
#include "enums/simpletypes/skiperror.h"
+#include "utils/vector.h"
+
#include <map>
#include <string>
-#include <vector>
#include "localconsts.h"
diff --git a/src/resources/db/networkdb.h b/src/resources/db/networkdb.h
index 0018daaa5..697adbc44 100644
--- a/src/resources/db/networkdb.h
+++ b/src/resources/db/networkdb.h
@@ -23,8 +23,9 @@
#include "enums/simpletypes/skiperror.h"
+#include "utils/vector.h"
+
#include <map>
-#include <vector>
#include <string>
typedef std::map<int32_t, int32_t> NetworkInPacketInfos;
diff --git a/src/resources/db/questdb.h b/src/resources/db/questdb.h
index 44a00631c..1bec2cc4e 100644
--- a/src/resources/db/questdb.h
+++ b/src/resources/db/questdb.h
@@ -23,10 +23,11 @@
#include "enums/simpletypes/skiperror.h"
+#include "utils/vector.h"
+
#include "resources/questvar.h"
#include <string>
-#include <vector>
#include "localconsts.h"
diff --git a/src/resources/db/statdb.h b/src/resources/db/statdb.h
index 1eaa6ed01..898f0af63 100644
--- a/src/resources/db/statdb.h
+++ b/src/resources/db/statdb.h
@@ -23,9 +23,9 @@
#include "enums/simpletypes/skiperror.h"
-#include "resources/basicstat.h"
+#include "utils/vector.h"
-#include <vector>
+#include "resources/basicstat.h"
#include "localconsts.h"
diff --git a/src/resources/db/weaponsdb.h b/src/resources/db/weaponsdb.h
index 9c7083c33..e30b4f544 100644
--- a/src/resources/db/weaponsdb.h
+++ b/src/resources/db/weaponsdb.h
@@ -21,7 +21,7 @@
#ifndef RESOURCES_DB_WEAPONSDB_H
#define RESOURCES_DB_WEAPONSDB_H
-#include <vector>
+#include "utils/vector.h"
#include "localconsts.h"