google / fplutil

fplutil is a set of small libraries and tools that can be useful when developing applications for Android and other platforms.
http://google.github.io/fplutil
Apache License 2.0
333 stars 49 forks source link

Fix intrusive_list::erase() and add unit tests #13

Closed vsrinivas closed 6 years ago

vsrinivas commented 6 years ago

erase() was referencing a non-existant iterator 'node_' member and erase(first, last) was incorrectly updating a list's embedded link element. Fix and add unit tests.

alexames commented 6 years ago

Thanks for the fix :+1: