Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3cec4466 authored by Michael Wright's avatar Michael Wright
Browse files

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
parent ebd913b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment