summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-05 02:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-05 02:18:44 +0300
commit2987881a1c52e228a2edc6201f2e1a26ba6f77d9 (patch)
treecbe89259b83fb7e19c3dcaf85c6fe6625c9a44ae
parente1db1f0fcdd98b130ac6d87be44d6858bfd5332f (diff)
downloadmv-2987881a1c52e228a2edc6201f2e1a26ba6f77d9.tar.gz
mv-2987881a1c52e228a2edc6201f2e1a26ba6f77d9.tar.bz2
mv-2987881a1c52e228a2edc6201f2e1a26ba6f77d9.tar.xz
mv-2987881a1c52e228a2edc6201f2e1a26ba6f77d9.zip
Fix includes issue in stringdefines.
-rw-r--r--src/enums/being/attributesstrings.cpp2
-rw-r--r--src/enums/being/attributesstrings.h2
-rw-r--r--src/enums/simpletypes/stringdefines.h3
-rw-r--r--src/enums/simpletypes/stringdefines2.h2
4 files changed, 4 insertions, 5 deletions
diff --git a/src/enums/being/attributesstrings.cpp b/src/enums/being/attributesstrings.cpp
index c261cac92..6a74f0fd5 100644
--- a/src/enums/being/attributesstrings.cpp
+++ b/src/enums/being/attributesstrings.cpp
@@ -23,6 +23,8 @@
#include "enums/simpletypes/stringdefines.h"
+#include <map>
+
#include "debug.h"
namespace AttributesEnum
diff --git a/src/enums/being/attributesstrings.h b/src/enums/being/attributesstrings.h
index cb082e3fd..629f1006e 100644
--- a/src/enums/being/attributesstrings.h
+++ b/src/enums/being/attributesstrings.h
@@ -26,6 +26,8 @@
#include "enums/simpletypes/stringdefines2.h"
+#include <string>
+
namespace AttributesEnum
{
stringEnumDef(AttributesT)
diff --git a/src/enums/simpletypes/stringdefines.h b/src/enums/simpletypes/stringdefines.h
index bebee5785..c406f17e9 100644
--- a/src/enums/simpletypes/stringdefines.h
+++ b/src/enums/simpletypes/stringdefines.h
@@ -21,9 +21,6 @@
#ifndef ENUMS_SIMPLETYPES_STRINGDEFINES_H
#define ENUMS_SIMPLETYPES_STRINGDEFINES_H
-#include <map>
-#include <string>
-
#include "localconsts.h"
#define stringEnumStart(type) \
diff --git a/src/enums/simpletypes/stringdefines2.h b/src/enums/simpletypes/stringdefines2.h
index 4489bc469..9228e9bc0 100644
--- a/src/enums/simpletypes/stringdefines2.h
+++ b/src/enums/simpletypes/stringdefines2.h
@@ -21,8 +21,6 @@
#ifndef ENUMS_SIMPLETYPES_STRINGDEFINES2_H
#define ENUMS_SIMPLETYPES_STRINGDEFINES2_H
-#include <string>
-
#include "localconsts.h"
#define stringEnumDef(type) \