diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-29 12:43:54 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-31 03:48:49 +0000 |
commit | b589c4cd8765b0611afe435354364df891d78852 (patch) | |
tree | 4dbfacf74480e2154a2e38c3fd41fe9d34f08fc3 /ucb/source | |
parent | 3d83c42008ab51202c0577f493e8ed3fde0310b7 (diff) |
Omit comparator which is the same as default std::less<key_type>
Change-Id: I72a0b618577caececaaf3eb4df53d4cb192251da
Reviewed-on: https://gerrit.libreoffice.org/30369
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_docmgr.hxx | 11 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonLockStore.hxx | 10 |
2 files changed, 2 insertions, 19 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx index 1cace6937fe6..7dd5a07459ec 100644 --- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx +++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx @@ -54,16 +54,7 @@ namespace tdoc_ucp { }; - struct ltref - { - bool operator()( - const OUString & r1, const OUString & r2 ) const - { - return r1 < r2; - } - }; - - typedef std::map< OUString, StorageInfo, ltref > DocumentList; + typedef std::map< OUString, StorageInfo > DocumentList; class OfficeDocumentsManager : diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx index 8a52f1872f49..b0f968a9f208 100644 --- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx +++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx @@ -43,14 +43,6 @@ namespace webdav_ucp class TickerThread; class NeonSession; -struct ltptr -{ - bool operator()( const NeonLock * p1, const NeonLock * p2 ) const - { - return p1 < p2; - } -}; - struct LockInfo { rtl::Reference< NeonSession > xSession; @@ -66,7 +58,7 @@ struct LockInfo }; -typedef std::map< NeonLock *, LockInfo, ltptr > LockInfoMap; +typedef std::map< NeonLock *, LockInfo > LockInfoMap; class NeonLockStore { |