Skip to content
Unverified Commit 86b6dfc6 authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[libc++] Fix Coverity warning about use-after-move (#78780)

While the code is technically correct because the index is never
actually moved from (and anyway that wouldn't matter since it's an
integer), it's still better style not to access an object after it has
been moved-from. Since this is so easy to do, just save the index in a
temporary variable.

rdar://120501577
parent cc3fd197
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment