you need #include<vector> here.