Remove unnecessary constructors.

This commit is contained in:
ManoloFLTK 2022-03-21 10:01:45 +01:00
parent 2c706838a6
commit 19439e8e0a
3 changed files with 2 additions and 8 deletions

View File

@ -47,7 +47,6 @@ class Fl_Posix_System_Driver : public Fl_System_Driver
protected:
int run_program(const char *program, char **argv, char *msg, int msglen);
public:
Fl_Posix_System_Driver() {}
virtual int mkdir(const char* f, int mode) {return ::mkdir(f, mode);}
virtual int open(const char* f, int oflags, int pmode) {
return pmode == -1 ? ::open(f, oflags) : ::open(f, oflags, pmode);

View File

@ -2,7 +2,7 @@
// Definition of Wayland system driver
// for the Fast Light Tool Kit (FLTK).
//
// Copyright 2021 by Bill Spitzak and others.
// Copyright 2021-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@ -23,8 +23,6 @@ class Fl_RGB_Image;
class FL_EXPORT Fl_Unix_System_Driver : public Fl_Posix_System_Driver {
public:
Fl_Unix_System_Driver() : Fl_Posix_System_Driver() {
}
virtual int clocale_snprintf(char *output, size_t output_size, const char *format, va_list args);
virtual int clocale_sscanf(const char *input, const char *format, va_list args);
virtual int clocale_printf(FILE *output, const char *format, va_list args);

View File

@ -2,7 +2,7 @@
// Definition of Wayland system driver
// for the Fast Light Tool Kit (FLTK).
//
// Copyright 2010-2021 by Bill Spitzak and others.
// Copyright 2010-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@ -22,9 +22,6 @@
class FL_EXPORT Fl_Wayland_System_Driver : public Fl_Unix_System_Driver {
public:
Fl_Wayland_System_Driver() : Fl_Unix_System_Driver() {
// Wayland system driver uses the default key table
}
virtual int need_menu_handle_part2() {return 0;}
int event_key(int k);
int get_key(int k);