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

move to unordered containers

üst cde6136f
......@@ -62,7 +62,7 @@
#include <cppuhelper/propshlp.hxx>
#include <osl/diagnose.h>
#include <hash_map>
#include <boost/unordered_map.hpp>
namespace dbaccess
{
......@@ -157,7 +157,7 @@ namespace dbaccess
//= general columns map, could be used for readonly access
//= 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;
class OContainerMediator;
......
......@@ -35,7 +35,7 @@
#include <rtl/ustring.hxx>
#include <hash_map>
#include <boost/unordered_map.hpp>
#include <map>
//........................................................................
......@@ -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;
......
......@@ -45,7 +45,6 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <hash_map>
#include <algorithm>
#include <functional>
......
......@@ -64,7 +64,7 @@
#include <rtl/ustring.hxx>
#include <rtl/logfile.hxx>
#include <algorithm>
#include <hash_map>
#include <boost/unordered_map.hpp>
#include <cppuhelper/implbase1.hxx>
#include <limits>
......@@ -90,7 +90,7 @@ using namespace ::comphelper;
#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;
......
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