commit | 3cec44662025c65805480b5fc490c7bfcf841faa | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Thu Nov 24 22:05:46 2022 +0000 |
committer | Michael Wright <michaelwr@google.com> | Thu Nov 24 22:09:46 2022 +0000 |
tree | 9cc8ad15a1c7499bf73f78aab891fe3f8f35f4f3 | |
parent | ebd913b1555b0fdc094a7d6f74a2415f3651e9b0 [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