ローカルなオブジェクトをconst宣言しちゃいますか?
たとえば
const int s = v.getSize();
for( int i = 0; i < s; i++ )
v.get(i).clear();
みたいに。