diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-07-23 11:13:57 +1000 | 
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-07-23 11:13:57 +1000 | 
| commit | c570c7c6fb1abc780510efd5eee6c3a9131a54e4 (patch) | |
| tree | 817ff2215fa00425d00e6a81fcbd00442c2d09ac /src/PositionCache.h | |
| parent | 199d7ee000fcb1ce24d3f4a919dc825e6c0d2f45 (diff) | |
| download | scintilla-mirror-c570c7c6fb1abc780510efd5eee6c3a9131a54e4.tar.gz | |
Only use map for character representations instead of unordered_map where possible.
unordered_map caused too many porting problems.
Diffstat (limited to 'src/PositionCache.h')
| -rw-r--r-- | src/PositionCache.h | 6 | 
1 files changed, 1 insertions, 5 deletions
| 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); | 
