Why flllowing method is virtual?

template <typename T, typename AT=T, class VP=value_prep<T,AT> >
etl::surface::set_wh(typename size_type::value_type w, typename
size_type::value_type h, unsigned char* newdata, const typename
size_type::value_type &pitch)

This method have one override:
void CairoSurface::set_wh(int w, int h, unsigned char* data, int pitch)
{ etl::surface<CairoColor, CairoColorAccumulator,
CairoColorPrep>::set_wh(w, h, data, pitch); }

Also this method never used when CairoSurface object passed by pointer or
reference as etl::surface.

I've removed 'virtual' keyword



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to