tdf#97499 Remove some Default arguments in unordered container

Change-Id: Ic008e244b8ae1888fa45379371f5525ee77f6087
Reviewed-on: https://gerrit.libreoffice.org/22887
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
Jaskaran
2016-03-04 10:04:07 +05:30
committed by Michael Stahl
parent 088ba465d6
commit 00ecf7899a
5 changed files with 5 additions and 12 deletions

View File

@@ -156,9 +156,7 @@ typedef ::std::vector< OString > OStringVector;
typedef std::unordered_map
<
sal_Int32,
OUString,
::std::hash< sal_Int32 >,
::std::equal_to< sal_Int32 >
OUString
> Int2StringMap;
class Connection : public ConnectionBase

View File

@@ -1420,9 +1420,7 @@ namespace {
typedef std::unordered_map
<
sal_Int32,
DatabaseTypeDescription,
::std::hash< sal_Int32 >,
::std::equal_to< sal_Int32 >
DatabaseTypeDescription
> Oid2DatabaseTypeDescriptionMap;
static void columnMetaData2DatabaseTypeDescription(

View File

@@ -61,9 +61,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
typedef std::unordered_map<
long,
TNumberedItem,
::std::hash<long>,
::std::equal_to< long > > TNumberedItemHash;
TNumberedItem > TNumberedItemHash;
typedef ::std::vector< long > TDeadItemList;

View File

@@ -39,8 +39,7 @@ class StgCache
{
typedef std::unordered_map
<
sal_Int32, rtl::Reference< StgPage >,
std::hash< sal_Int32 >, std::equal_to< sal_Int32 >
sal_Int32, rtl::Reference< StgPage >
> IndexToStgPage;
typedef std::vector< rtl::Reference< StgPage > > LRUList;

View File

@@ -128,7 +128,7 @@ namespace fileaccess
}; // end class TaskHandling
typedef std::unordered_map< sal_Int32,TaskHandling,std::hash< sal_Int32 > > TaskMap;
typedef std::unordered_map< sal_Int32,TaskHandling > TaskMap;
private:
osl::Mutex m_aMutex;