[Libreoffice-commits] .: testtools/source

Fridrich Strba fridrich at kemper.freedesktop.org
Sat Feb 5 16:05:06 PST 2011


 testtools/source/performance/ubtest.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 145c147d48d15e12080e25ad5fec03b9fa85ebfc
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Sat Feb 5 21:58:42 2011 +0100

    std::hash_map -> boost:unordered_map

diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index 4eaadf2..5ed8f22 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -32,7 +32,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <string>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
 #include <map>
 
 #include <osl/diagnose.h>
@@ -568,7 +568,7 @@ void TimingSheet::insert( const sal_Char * pText, sal_Int64 nLoop, sal_uInt32 nT
 }
 
 //==================================================================================================
-typedef std::hash_map< std::string, TimingSheet > t_TimingSheetMap;
+typedef boost::unordered_map< std::string, TimingSheet > t_TimingSheetMap;
 
 //--------------------------------------------------------------------------------------------------
 static void benchmark(


More information about the Libreoffice-commits mailing list