Commit a9f38499 authored by Arthur O'Dwyer's avatar Arthur O'Dwyer Committed by Louis Dionne
Browse files

[libc++] Counter<T>'s assignment operator shouldn't ++gConstructed

This has been here since d5f461ca, but assigning into an existing
Counter object definitely doesn't create a new object. This causes the
count to "leak" higher and higher, inside algorithms based on swapping.
parent 755535b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment