experimental: Portability fix, std::map.erase expects iterator.
Authored by: log0 2012-01-31
Parent: [r13311]
Child: [r13313]