diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-02 10:52:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-03 06:54:54 +0200 |
commit | 0cc8da4c091ac5784c0b4c2c7850ca8dabffea04 (patch) | |
tree | 4265062fb53c4416b34e5c89a295d41e0e7187f9 /vcl/qt6 | |
parent | 1661a3ee77d78807f287146f8190d02d89963fe2 (diff) |
remove the o3tl::lru_map "unlimited" hack
It didn't quite make sense before that maxsize == 0 meant no cleanup,
and now with items optionally being count as having size more than 1
it makes even less sense to limit the size to max_size() of the
containers. This comes from 16a338e173083954a9932a3a4005f17230,
so instead make that special caller pass a large size, which in
practice is the same.
Change-Id: Id875862126200ba889211f6e4079ae5921f27650
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133690
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/qt6')
0 files changed, 0 insertions, 0 deletions