diff options
Diffstat (limited to 'src/core/smallmap_type.hpp')
-rw-r--r-- | src/core/smallmap_type.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp index 68ee4aff5..269950544 100644 --- a/src/core/smallmap_type.hpp +++ b/src/core/smallmap_type.hpp @@ -33,6 +33,7 @@ template <typename T, typename U, uint S = 16> struct SmallMap : SmallVector<SmallPair<T, U>, S> { typedef ::SmallPair<T, U> Pair; typedef Pair *iterator; + typedef const Pair *const_iterator; /** Creates new SmallMap. Data are initialized in SmallVector constructor */ FORCEINLINE SmallMap() { } |