Skip to content
Commit 33af74d6 authored by Andy Kaylor's avatar Andy Kaylor
Browse files

Fix "use after move" in iterator_range

A static analysis tool reported a "use after move" error in a place where the
same object was being passed to two different calls using std::forward. While
this seems unlikely to present an actual problem, removing the std::forward
makes the code slightly more robust.

This relates to the comments here: https://reviews.llvm.org/D152891#inline-1522454

Differential Revision: https://reviews.llvm.org/D157453
parent d4a2d656
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment