Kaydet (Commit) 57e8c3fd authored tarafından Fridrich Štrba's avatar Fridrich Štrba

move to unordered containers

üst cde6136f
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
#include <cppuhelper/propshlp.hxx> #include <cppuhelper/propshlp.hxx>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <hash_map> #include <boost/unordered_map.hpp>
namespace dbaccess namespace dbaccess
{ {
...@@ -157,7 +157,7 @@ namespace dbaccess ...@@ -157,7 +157,7 @@ namespace dbaccess
//= general columns map, could be used for readonly access //= general columns map, could be used for readonly access
//= no appending and dropping is supported //= no appending and dropping is supported
//============================================================ //============================================================
typedef ::std::hash_map<rtl::OUString, OColumn*, ::comphelper::UStringMixHash, ::comphelper::UStringMixEqual> OColumnMap; typedef ::boost::unordered_map<rtl::OUString, OColumn*, ::comphelper::UStringMixHash, ::comphelper::UStringMixEqual> OColumnMap;
typedef ::std::vector<OColumn*> OColumnArray; typedef ::std::vector<OColumn*> OColumnArray;
class OContainerMediator; class OContainerMediator;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <hash_map> #include <boost/unordered_map.hpp>
#include <map> #include <map>
//........................................................................ //........................................................................
...@@ -78,7 +78,7 @@ namespace dbaccess ...@@ -78,7 +78,7 @@ namespace dbaccess
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
typedef ::std::hash_map< ::rtl::OUString, SubComponentDescriptor, ::rtl::OUStringHash > MapStringToCompDesc; typedef ::boost::unordered_map< ::rtl::OUString, SubComponentDescriptor, ::rtl::OUStringHash > MapStringToCompDesc;
typedef ::std::map< SubComponentType, MapStringToCompDesc > MapCompTypeToCompDescs; typedef ::std::map< SubComponentType, MapStringToCompDesc > MapCompTypeToCompDescs;
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <hash_map>
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/logfile.hxx> #include <rtl/logfile.hxx>
#include <algorithm> #include <algorithm>
#include <hash_map> #include <boost/unordered_map.hpp>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#include <limits> #include <limits>
...@@ -90,7 +90,7 @@ using namespace ::comphelper; ...@@ -90,7 +90,7 @@ using namespace ::comphelper;
#define LAST_USER_DEFINED_FEATURE ( ::std::numeric_limits< sal_uInt16 >::max() ) #define LAST_USER_DEFINED_FEATURE ( ::std::numeric_limits< sal_uInt16 >::max() )
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
typedef ::std::hash_map< sal_Int16, sal_Int16 > CommandHashMap; typedef ::boost::unordered_map< sal_Int16, sal_Int16 > CommandHashMap;
typedef ::std::list< DispatchInformation > DispatchInfoList; typedef ::std::list< DispatchInformation > DispatchInfoList;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment