diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-01 19:58:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-02 16:14:36 +0000 |
commit | fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch) | |
tree | 448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /pyuno | |
parent | c48b928acab9f226ad5ad816fe773c21051431e8 (diff) |
boost::unordered_map->std::unordered_map
you can get debug stl this way
Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_impl.hxx | 12 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_module.cxx | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index 0060a186a7a3..83fbda5206cb 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -33,8 +33,8 @@ #include <pyuno/pyuno.hxx> -#include <boost/unordered_map.hpp> -#include <boost/unordered_set.hpp> +#include <unordered_map> +#include <unordered_set> #include <com/sun/star/beans/XIntrospection.hpp> #include <com/sun/star/script/XTypeConverter.hpp> @@ -163,7 +163,7 @@ static const sal_Int32 VAL2STR_MODE_SHALLOW = 1; OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef, sal_Int32 mode = VAL2STR_MODE_DEEP ); -typedef ::boost::unordered_map +typedef std::unordered_map < PyRef, com::sun::star::uno::WeakReference< com::sun::star::script::XInvocation >, @@ -172,7 +172,7 @@ typedef ::boost::unordered_map > PyRef2Adapter; -typedef ::boost::unordered_map +typedef std::unordered_map < OUString, PyRef, @@ -180,7 +180,7 @@ OUStringHash, std::equal_to<OUString> > ExceptionClassMap; -typedef ::boost::unordered_map +typedef std::unordered_map < OUString, com::sun::star::uno::Sequence< sal_Int16 >, @@ -188,7 +188,7 @@ typedef ::boost::unordered_map std::equal_to< OUString > > MethodOutIndexMap; -typedef ::boost::unordered_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSet; +typedef std::unordered_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSet; int PyUNO_initType(); diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index c2ca67b28bac..a214062c6a41 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -22,7 +22,7 @@ #include "pyuno_impl.hxx" -#include <boost/unordered_map.hpp> +#include <unordered_map> #include <utility> #include <osl/module.hxx> @@ -84,7 +84,7 @@ class fillStructState // Keyword arguments used PyObject *used; // Which structure members are initialised - boost::unordered_map <const OUString, bool, OUStringHash> initialised; + std::unordered_map <const OUString, bool, OUStringHash> initialised; // How many positional arguments are consumed // This is always the so-many first ones sal_Int32 nPosConsumed; |