diff options
author | Olly Betts <olly@survex.com> | 2015-03-28 17:26:12 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2015-03-28 17:26:12 +1300 |
commit | b38fa20e71ff9bf75a213efd310bdbc5f929ee69 (patch) | |
tree | 227876661049cf7f96a2aa407688f1189a4515e5 | |
parent | 5c10309c7cf11844d35553c3d857885dde39e3c7 (diff) | |
download | swig-b38fa20e71ff9bf75a213efd310bdbc5f929ee69.tar.gz |
Remove superfluous semicolons after function definitions
-rw-r--r-- | Doc/Manual/Doxygen.html | 2 | ||||
-rw-r--r-- | Examples/doxygencomments/java/class/example.h | 4 | ||||
-rw-r--r-- | Examples/doxygencomments/java/reference/example.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Manual/Doxygen.html b/Doc/Manual/Doxygen.html index a8cda3690..c5676263c 100644 --- a/Doc/Manual/Doxygen.html +++ b/Doc/Manual/Doxygen.html @@ -1008,7 +1008,7 @@ public: } virtual ~Shape() { nshapes--; - }; + } double x, y; /*!< Important Variables */ void move(double dx, double dy); /*!< Moves the Shape */ virtual double area(void) = 0; /*!< \return the area */ diff --git a/Examples/doxygencomments/java/class/example.h b/Examples/doxygencomments/java/class/example.h index ce9af23d3..afb7a3a53 100644 --- a/Examples/doxygencomments/java/class/example.h +++ b/Examples/doxygencomments/java/class/example.h @@ -14,7 +14,7 @@ public: } virtual ~Shape() { nshapes--; - }; + } double x, y; /*!< Important variables */ void move(double dx, double dy); virtual double area(void) = 0; /*!< \return the area \exception exception description */ @@ -38,7 +38,7 @@ class Square : public Shape { private: double width; public: - Square(double w) : width(w) { }; /*!< Create square + Square(double w) : width(w) { } /*!< Create square /param w the width /exception some description */ virtual double area(void); diff --git a/Examples/doxygencomments/java/reference/example.h b/Examples/doxygencomments/java/reference/example.h index 4915adb1b..c4820f19a 100644 --- a/Examples/doxygencomments/java/reference/example.h +++ b/Examples/doxygencomments/java/reference/example.h @@ -4,8 +4,8 @@ class Vector { private: double x,y,z; public: - Vector() : x(0), y(0), z(0) { }; - Vector(double x, double y, double z) : x(x), y(y), z(z) { }; + Vector() : x(0), y(0), z(0) { } + Vector(double x, double y, double z) : x(x), y(y), z(z) { } friend Vector operator+(const Vector &a, const Vector &b); char *print(); }; |