Avoid using same name (p) for distinct members of derived classes.

This commit is contained in:
ManoloFLTK
2022-03-21 15:56:50 +01:00
parent bf5b902180
commit d87b62ea69
8 changed files with 51 additions and 34 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ protected:
void cache_size_finalize(Fl_Image *img, int &width, int &height);
static unsigned need_pixmap_bg_color;
public:
virtual ~Fl_Graphics_Driver() {} ///< Destructor
virtual ~Fl_Graphics_Driver();
static Fl_Graphics_Driver &default_driver();
/** Current scale factor between FLTK and drawing units: drawing = FLTK * scale() */
float scale() { return scale_; }