I'm not really sure why I'm getting this error, since I've done this before in other programs. It happens when I attempt to call sf::RenderTarget.Draw(sf::Sprite) - it tells me that I'm attempting to call a pure virtual method.
void Draw(sf::RenderTarget& target)
{ target.Draw(sprite_); }
and then in a drawing loop, I'd have
// Window declaration
sf::RenderWindow App(/* construction */);
// Drawing loop
for (/* all objects */)
{ iter->Draw(App); }
Is there something wrong with what I'm doing? Or should I try posting more code? Will I be forced to use pointers to make sure the polymorphism kicks in? It's weird, since this has worked before...