workaround for a compiler bug with Win64

This commit is contained in:
Chris Brunner 2010-05-27 23:50:59 +00:00
parent dfdcf8bfad
commit 74f0849d7e

View File

@ -39,9 +39,9 @@ optimize() {
}
// Ok, all the rows had the same value. Collapse them.
if(!_data.empty()){
_data.erase(_data.begin() + 1, _data.end());
}
// We have to use the call to v() to work around an apparent compiler bug with Win64.
_data.v().erase(_data.v().begin() + 1, _data.v().end());
}
}