Don’t use void for functions without arguments

This commit is contained in:
Artur Wieczorek
2019-10-02 00:54:14 +02:00
parent 488582b04e
commit a771da5623
21 changed files with 83 additions and 83 deletions

View File

@@ -360,7 +360,7 @@ public:
// Convert to greyscale image. Uses the luminance component (Y) of the image.
// The luma value (YUV) is calculated using (R * weight_r) + (G * weight_g) + (B * weight_b), defaults to ITU-T BT.601
wxImage ConvertToGreyscale(double weight_r, double weight_g, double weight_b) const;
wxImage ConvertToGreyscale(void) const;
wxImage ConvertToGreyscale() const;
// convert to monochrome image (<r,g,b> will be replaced by white,
// everything else by black)