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:
@@ -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
|
||||
|
@@ -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(
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user