From 750c372b29f703b10d4689bb22a783101dc934f7 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 3 Mar 2016 19:25:10 +0000 Subject: Remove Fl_Copy_Surface::newPlatformSurface() that does not do much. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Copy_Surface.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx index 7b7b0fc8b..78ffa85a0 100644 --- a/src/Fl_Copy_Surface.cxx +++ b/src/Fl_Copy_Surface.cxx @@ -48,13 +48,9 @@ private: #endif -Fl_Copy_Surface::Helper *Fl_Copy_Surface::newPlatformSurface(int w, int h) { - return new Helper(w, h); -} - /** the constructor */ Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Widget_Surface(NULL) { - platform_surface = newPlatformSurface(w, h); + platform_surface = new Helper(w, h); driver(platform_surface->driver()); } -- cgit v1.2.3