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

@@ -34,7 +34,7 @@
class WXDLLIMPEXP_CORE wxTransformMatrix: public wxObject
{
public:
wxTransformMatrix(void);
wxTransformMatrix();
wxTransformMatrix(const wxTransformMatrix& mat);
//get the value in the matrix at col,row
@@ -85,18 +85,18 @@ public:
double operator()(int col, int row) const;
// Invert matrix
bool Invert(void);
bool Invert();
// Make into identity matrix
bool Identity(void);
bool Identity();
// Is the matrix the identity matrix?
// Only returns a flag, which is set whenever an operation
// is done.
inline bool IsIdentity(void) const { return m_isIdentity; }
inline bool IsIdentity() const { return m_isIdentity; }
// This does an actual check.
inline bool IsIdentity1(void) const ;
inline bool IsIdentity1() const ;
//Scale by scale (isotropic scaling i.e. the same in x and y):
//!ex:
@@ -211,7 +211,7 @@ inline double wxTransformMatrix::TransformY(double y) const
// Is the matrix the identity matrix?
// Each operation checks whether the result is still the identity matrix and sets a flag.
inline bool wxTransformMatrix::IsIdentity1(void) const
inline bool wxTransformMatrix::IsIdentity1() const
{
return
( wxIsSameDouble(m_matrix[0][0], 1.0) &&