Don’t use void for functions without arguments
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user