diff options
author | Max Horn | 2006-07-30 12:21:54 +0000 |
---|---|---|
committer | Max Horn | 2006-07-30 12:21:54 +0000 |
commit | 53f73eac8569010ccddfeebeddcdb2619b2616aa (patch) | |
tree | 542e09fc5045ea616390d07f6543dfb32845df98 /graphics | |
parent | bd49091afd55cf2663095a1882bab34496ef01f0 (diff) | |
download | scummvm-rg350-53f73eac8569010ccddfeebeddcdb2619b2616aa.tar.gz scummvm-rg350-53f73eac8569010ccddfeebeddcdb2619b2616aa.tar.bz2 scummvm-rg350-53f73eac8569010ccddfeebeddcdb2619b2616aa.zip |
Added explicit string equals/hash functors to a new header common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case
svn-id: r23634
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fontman.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/fontman.h b/graphics/fontman.h index fb73286e3d..443587ca7c 100644 --- a/graphics/fontman.h +++ b/graphics/fontman.h @@ -27,6 +27,7 @@ #include "common/singleton.h" #include "common/str.h" #include "common/hashmap.h" +#include "common/hash-str.h" #include "graphics/font.h" @@ -81,7 +82,7 @@ private: friend class Common::Singleton<SingletonBaseType>; FontManager(); - Common::HashMap<Common::String, const Font *> _fontMap; + Common::HashMap<Common::String, const Font *, Common::CaseSensitiveString_Hash, Common::CaseSensitiveString_EqualTo> _fontMap; }; |