Remove bogus ; after } in examples

This commit is contained in:
Olly Betts 2014-11-05 10:42:12 +13:00
commit 37cd1474b5
18 changed files with 43 additions and 43 deletions

View file

@ -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();
};