[Libreoffice-commits] .: sdext/source

Fridrich Strba fridrich at kemper.freedesktop.org
Sun Feb 6 19:47:25 PST 2011


 sdext/source/minimizer/pppoptimizertoken.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1444a32f74f3c3a22d036e8e1b0b7ffe7e8d0980
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Sun Feb 6 15:21:17 2011 +0100

    std::hash -> boost::hash

diff --git a/sdext/source/minimizer/pppoptimizertoken.cxx b/sdext/source/minimizer/pppoptimizertoken.cxx
index fb659e4..b625547 100644
--- a/sdext/source/minimizer/pppoptimizertoken.cxx
+++ b/sdext/source/minimizer/pppoptimizertoken.cxx
@@ -42,7 +42,7 @@ struct TCheck
         return strcmp( s1, s2 ) == 0;
     }
 };
-typedef boost::unordered_map< const char*, PPPOptimizerTokenEnum, std::hash<const char*>, TCheck> TypeNameHashMap;
+typedef boost::unordered_map< const char*, PPPOptimizerTokenEnum, boost::hash<const char*>, TCheck> TypeNameHashMap;
 static TypeNameHashMap* pHashMap = NULL;
 static ::osl::Mutex& getHashMapMutex()
 {


More information about the Libreoffice-commits mailing list