Codechange: Use std::map instead of custom SmallMap.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#ifndef TRUETYPEFONTCACHE_H
|
||||
#define TRUETYPEFONTCACHE_H
|
||||
|
||||
#include "../core/smallmap_type.hpp"
|
||||
#include "../fontcache.h"
|
||||
|
||||
|
||||
@@ -28,7 +27,7 @@ protected:
|
||||
int req_size; ///< Requested font size.
|
||||
int used_size; ///< Used font size.
|
||||
|
||||
typedef SmallMap<uint32, std::pair<size_t, const void *> > FontTable; ///< Table with font table cache
|
||||
using FontTable = std::map<uint32_t, std::pair<size_t, const void *>>; ///< Table with font table cache
|
||||
FontTable font_tables; ///< Cached font tables.
|
||||
|
||||
/** Container for information about a glyph. */
|
||||
|
||||
Reference in New Issue
Block a user