diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-05-03 13:14:16 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-06-16 21:37:11 +0200 |
| commit | 77d0f3753643fa818c4bef7542f7e5d97812252c (patch) | |
| tree | 9060931653e928a4559df049666d57dfc777eace /src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp | |
| parent | 3ccf2f8308ba33cab575c22ad2e246b987a3dc0c (diff) | |
Return TZ time-zone backend's tranCache() as a const reference
Assorted code was iterating from tranCache().cbegin() to
tranCache().cend(), and getting away with it because CoW means
tranCache()'s two distinct returns were referencing the same pimpl,
but let's make tranCache() return a const ref so that these calls are
all accessing the same object (and we get complaints if we do anything
non-const with it via this method).
Axivion-Id: qt_qtbase_dev_linux:SV1685
Pick-to: 5.15 6.2 6.5 6.6
Change-Id: If43ccf37c2b27837e5462cb4a0eeb07f0045cbfe
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/qandroidassetsfileenginehandler.cpp')
0 files changed, 0 insertions, 0 deletions
