summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2022-11-24 22:05:46 +0000
committer Michael Wright <michaelwr@google.com> 2022-11-24 22:09:46 +0000
commit3cec44662025c65805480b5fc490c7bfcf841faa (patch)
tree9cc8ad15a1c7499bf73f78aab891fe3f8f35f4f3 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parentebd913b1555b0fdc094a7d6f74a2415f3651e9b0 (diff)
Fix for-loop type in dumpDispatchStateLocked
Technically the iterator provides a std::pair<const KEY, VALUE>&, so we're constructing a std::pair<KEY, VALUE> from it and then taking a const reference to that. This creates an unnecessary copy but then obscures that by taking a reference to it. We could use the correct type to avoid this, but a structured binding is even nicer. Test: compile Change-Id: I360c4318001eff503b539693166386160bd605eb
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions