diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 3 | ||||
-rw-r--r-- | src/PositionCache.cxx | 3 | ||||
-rw-r--r-- | src/PositionCache.h | 6 | ||||
-rw-r--r-- | src/ScintillaBase.cxx | 3 |
4 files changed, 1 insertions, 14 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index acd5b3611..859ae180c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -15,9 +15,6 @@ #include <string> #include <vector> #include <map> -#ifndef SCINTILLA_NO_UNORDERED_MAP -#include <unordered_map> -#endif #include <algorithm> #include <memory> diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index d92d49338..009ed7cfa 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -13,9 +13,6 @@ #include <string> #include <vector> #include <map> -#ifndef SCINTILLA_NO_UNORDERED_MAP -#include <unordered_map> -#endif #include "Platform.h" diff --git a/src/PositionCache.h b/src/PositionCache.h index bab43390a..10afbd972 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -120,15 +120,11 @@ public: } }; -#ifdef SCINTILLA_NO_UNORDERED_MAP typedef std::map<int, Representation> MapRepresentation; -#else -typedef std::unordered_map<int, Representation> MapRepresentation; -#endif class SpecialRepresentations { MapRepresentation mapReprs; - int startByteHasReprs[0x100]; + short startByteHasReprs[0x100]; public: SpecialRepresentations(); void SetRepresentation(const char *charBytes, const char *value); diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 462d90ea4..05768799d 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -14,9 +14,6 @@ #include <string> #include <vector> #include <map> -#ifndef SCINTILLA_NO_UNORDERED_MAP -#include <unordered_map> -#endif #include <algorithm> #include "Platform.h" |