fix bulk erase in `F14VectorMap`
Summary: `iterator F14VectorMap::erase(const_iterator, const_iterator)` was missing a conversion from `const_iterator` to `iterator`. This diff adds it as well as a test. For sets, `iterator == const_iterator` so no need for anything special. Perhaps we could save the roundtrip from iterator space to index space and back using some const_cast of fancy pointers? The cost is going to be amortized anyway... Reviewed By: nbronson Differential Revision: D7373152 fbshipit-source-id: 91f651b3e4a1314c68fb8809baeb1477f8881790
Showing
Please register or sign in to comment