From 5ad1cd32b2f630f413646131fbdfbae85b3c72f8 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 3 Feb 2009 18:08:07 +0000 Subject: (svn r15324) -Codechange: unify the class used for comparing of strings for std::map --- src/blitter/factory.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/blitter/factory.hpp') diff --git a/src/blitter/factory.hpp b/src/blitter/factory.hpp index 4f7a4b108..a1ab6dc6e 100644 --- a/src/blitter/factory.hpp +++ b/src/blitter/factory.hpp @@ -8,6 +8,7 @@ #include "base.hpp" #include "../debug.h" #include "../string_func.h" +#include "../core/string_compare_type.hpp" #include #if defined(WITH_COCOA) @@ -21,13 +22,6 @@ class BlitterFactoryBase { private: const char *name; - struct StringCompare { - bool operator () (const char *a, const char *b) const - { - return strcmp(a, b) < 0; - } - }; - typedef std::map Blitters; static Blitters &GetBlitters() -- cgit v1.2.3-54-g00ecf