Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 684210 Details for
Bug 766656
app-office/libreoffice-7.0.4.2 fails with gcc11 lru_map.hxx needs std::size_t in a few places
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to change bare size_t to std::size_t
loffice-gcc11-size_t.patch (text/plain), 810 bytes, created by
Geoff Leach
on 2021-01-23 11:58:02 UTC
(
hide
)
Description:
patch to change bare size_t to std::size_t
Filename:
MIME Type:
Creator:
Geoff Leach
Created:
2021-01-23 11:58:02 UTC
Size:
810 bytes
patch
obsolete
>--- a/include/o3tl/lru_map.hxx 2021-01-23 22:37:48.903253658 +1100 >+++ b/include/o3tl/lru_map.hxx 2021-01-23 07:08:51.192264951 +1100 >@@ -48,7 +48,7 @@ > > list_t mLruList; > map_t mLruMap; >- const size_t mMaxSize; >+ const std::size_t mMaxSize; > > void checkLRU() > { >@@ -66,7 +66,7 @@ > typedef list_const_iterator_t const_iterator; > > // a size of 0 effectively disables the LRU cleanup code >- lru_map(size_t nMaxSize) >+ lru_map(std::size_t nMaxSize) > : mMaxSize(nMaxSize ? nMaxSize : std::min(mLruMap.max_size(), mLruList.max_size())) > {} > ~lru_map() >@@ -165,7 +165,7 @@ > return mLruList.cend(); > } > >- size_t size() const >+ std::size_t size() const > { > assert(mLruMap.size() == mLruList.size()); > return mLruMap.size();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 766656
: 684210