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
|
typedef std::unordered_map
|
||||||
<
|
<
|
||||||
sal_Int32,
|
sal_Int32,
|
||||||
OUString,
|
OUString
|
||||||
::std::hash< sal_Int32 >,
|
|
||||||
::std::equal_to< sal_Int32 >
|
|
||||||
> Int2StringMap;
|
> Int2StringMap;
|
||||||
|
|
||||||
class Connection : public ConnectionBase
|
class Connection : public ConnectionBase
|
||||||
|
@@ -1420,9 +1420,7 @@ namespace {
|
|||||||
typedef std::unordered_map
|
typedef std::unordered_map
|
||||||
<
|
<
|
||||||
sal_Int32,
|
sal_Int32,
|
||||||
DatabaseTypeDescription,
|
DatabaseTypeDescription
|
||||||
::std::hash< sal_Int32 >,
|
|
||||||
::std::equal_to< sal_Int32 >
|
|
||||||
> Oid2DatabaseTypeDescriptionMap;
|
> Oid2DatabaseTypeDescriptionMap;
|
||||||
|
|
||||||
static void columnMetaData2DatabaseTypeDescription(
|
static void columnMetaData2DatabaseTypeDescription(
|
||||||
|
@@ -61,9 +61,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
|
|||||||
|
|
||||||
typedef std::unordered_map<
|
typedef std::unordered_map<
|
||||||
long,
|
long,
|
||||||
TNumberedItem,
|
TNumberedItem > TNumberedItemHash;
|
||||||
::std::hash<long>,
|
|
||||||
::std::equal_to< long > > TNumberedItemHash;
|
|
||||||
|
|
||||||
typedef ::std::vector< long > TDeadItemList;
|
typedef ::std::vector< long > TDeadItemList;
|
||||||
|
|
||||||
|
@@ -39,8 +39,7 @@ class StgCache
|
|||||||
{
|
{
|
||||||
typedef std::unordered_map
|
typedef std::unordered_map
|
||||||
<
|
<
|
||||||
sal_Int32, rtl::Reference< StgPage >,
|
sal_Int32, rtl::Reference< StgPage >
|
||||||
std::hash< sal_Int32 >, std::equal_to< sal_Int32 >
|
|
||||||
> IndexToStgPage;
|
> IndexToStgPage;
|
||||||
|
|
||||||
typedef std::vector< rtl::Reference< StgPage > > LRUList;
|
typedef std::vector< rtl::Reference< StgPage > > LRUList;
|
||||||
|
@@ -128,7 +128,7 @@ namespace fileaccess
|
|||||||
}; // end class TaskHandling
|
}; // end class TaskHandling
|
||||||
|
|
||||||
|
|
||||||
typedef std::unordered_map< sal_Int32,TaskHandling,std::hash< sal_Int32 > > TaskMap;
|
typedef std::unordered_map< sal_Int32,TaskHandling > TaskMap;
|
||||||
private:
|
private:
|
||||||
|
|
||||||
osl::Mutex m_aMutex;
|
osl::Mutex m_aMutex;
|
||||||
|
Reference in New Issue
Block a user