Changes to vector on 0.93?

hello…

i’m having an issue with 0.93 on osx10.8/xcode 5…

i define my vector like this…
vector <vector <ofPoint> > line_points;

whenever i press z the last point of the active index should be deleted…
like this…

case 'z':
    if(line_points[selectedLineIndex].size()) {
        line_points[selectedLineIndex].erase(line_points[selectedLineIndex].end());

        if(selectedCornerIndex > line_points[selectedLineIndex].size()-1) {
            selectedCornerIndex = line_points[selectedLineIndex].size()-1;
        }
    }
    break;

this is working fine on 0.84…
on 0.93 the app compiles… runs… but when i press the z key it throws an exception and crashes…

hoping somebody can point me in the right direction…

thanks…
and greetz…

pls

replying to my own post…

changed to this…
line_points[selectedLineIndex].erase(line_points[selectedLineIndex].end()-1);

and now it’s working…

so my question is…
had it been wrong all the time?

greetz

pls