erase is a vector method

Signed-off-by: sabot <sabot@inuits.eu>