From 87a9979c8938b800aab6e35903d60d24892e7f2e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Oct 2017 17:18:17 +0200 Subject: overload std::hash for OUString and OString no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins Reviewed-by: Noel Grandin --- pyuno/source/module/pyuno_impl.hxx | 8 +++----- pyuno/source/module/pyuno_module.cxx | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index d3f7a6a5c628..ea0e419ffb1b 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -190,16 +190,14 @@ typedef std::unordered_map typedef std::unordered_map < -OUString, -PyRef, -OUStringHash + OUString, + PyRef > ExceptionClassMap; typedef std::unordered_map < OUString, - css::uno::Sequence< sal_Int16 >, - OUStringHash + css::uno::Sequence< sal_Int16 > > MethodOutIndexMap; typedef std::unordered_set< PyRef , PyRef::Hash > ClassSet; diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index ffc369387c56..8c738aedbecc 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -81,7 +81,7 @@ class fillStructState // Keyword arguments used PyObject *used; // Which structure members are initialised - std::unordered_map initialised; + std::unordered_map initialised; // How many positional arguments are consumed // This is always the so-many first ones sal_Int32 nPosConsumed; -- cgit