Vector is not a Template?
vector
is from the std
namespace, so you must use std::
to specify:
std::vector<sf::Texture> textureList;
Or you can use a using
statement:
using std::vector;
vector<sf::Texture> textureList;
Since I don't see any using
statements in your code sample, I am pretty sure you need to add std::
to your vector
declaration, like so:
std::vector<sf::Texture> textureList;