1
Window / Re: Draw from multiple classes
« on: September 17, 2012, 04:20:39 am »
Thanks a lot I will test it as soon as possible
/E: Tested your code, but my compiler (MSVC 2010) is not very happy
The compiler doesn't allow type names here. (He even doesn't know make_unique)
/E: Tested your code, but my compiler (MSVC 2010) is not very happy
m_drawables.push_back(std::make_unique(Ball));
m_drawables.push_back(std::make_unique(Player));
m_drawables.push_back(std::make_unique(Player));
The compiler doesn't allow type names here. (He even doesn't know make_unique)