Replace sf::Uint8* by std::vector<sf::Uint8>