Original Post
In addition to my ignorance on templates, I am also pretty dumb on std::vector =P. I can't figure this bug out as I'm not quite sure why it's not working.
TileContainer.cpp:
TileContainer is of type:
And the error is:

First thought was to mess around and make tile a double pointer, and things of this nature, but nothing worked. If anyone knows what's wrong with it, your answer is very appreciated.
TileContainer.cpp:
void TileHandler::AddTile(int row, int column, int rowSpr, int colSpr)
{
Tile *tile = new Tile;
tile->rowPos = row;
tile->colPos = column;
tile->rowSpr = rowSpr;
tile->colSpr = colSpr;
TileContainer.push_back(tile);
}
TileContainer is of type:
typedef std::vector<Tile> TileContainer;And the error is:

First thought was to mess around and make tile a double pointer, and things of this nature, but nothing worked. If anyone knows what's wrong with it, your answer is very appreciated.
