From a3e6fe8011067ef22c673342b40b1f924c06b3c1 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 3 May 2018 07:47:25 +1000 Subject: Ensure all 4 byte characters will work in MapRepresentation by using unsigned int. Use variable assignments to avoid casts. --- src/PositionCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PositionCache.h') diff --git a/src/PositionCache.h b/src/PositionCache.h index c294edebd..c1ecd2c0f 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -160,7 +160,7 @@ public: } }; -typedef std::map MapRepresentation; +typedef std::map MapRepresentation; class SpecialRepresentations { MapRepresentation mapReprs; -- cgit v1.2.3