Skip to content

Commit

Permalink
add void to match existing style
Browse files Browse the repository at this point in the history
  • Loading branch information
aremmell committed Dec 12, 2023
1 parent 620b617 commit 8bd140f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Adafruit_GFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Adafruit_GFX : public Print {
@returns true if the object is ready to use, false otherwise.
*/
/************************************************************************/
virtual bool isValid() const { return true; }
virtual bool isValid(void) const { return true; }

// These exist only with Adafruit_GFX (no subclass overrides)
void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);
Expand Down Expand Up @@ -325,7 +325,7 @@ class GFXcanvas1 : public Adafruit_GFX {
void fillScreen(uint16_t color);
void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
bool isValid() const { return buffer != NULL; }
bool isValid(void) const { return buffer != NULL; }
bool getPixel(int16_t x, int16_t y) const;
/**********************************************************************/
/*!
Expand Down Expand Up @@ -357,7 +357,7 @@ class GFXcanvas8 : public Adafruit_GFX {
void fillScreen(uint16_t color);
void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
bool isValid() const { return buffer != NULL; }
bool isValid(void) const { return buffer != NULL; }
uint8_t getPixel(int16_t x, int16_t y) const;
/**********************************************************************/
/*!
Expand All @@ -384,7 +384,7 @@ class GFXcanvas16 : public Adafruit_GFX {
void byteSwap(void);
void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
bool isValid() const { return buffer != NULL; }
bool isValid(void) const { return buffer != NULL; }
uint16_t getPixel(int16_t x, int16_t y) const;
/**********************************************************************/
/*!
Expand Down

0 comments on commit 8bd140f

Please sign in to comment.