summaryrefslogtreecommitdiff
path: root/Examples/modula3/reference/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/modula3/reference/example.h')
-rw-r--r--Examples/modula3/reference/example.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/modula3/reference/example.h b/Examples/modula3/reference/example.h
index 0a9cd447f..7b4ba8fb8 100644
--- a/Examples/modula3/reference/example.h
+++ b/Examples/modula3/reference/example.h
@@ -4,8 +4,8 @@ struct 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) { }
Vector operator+(const Vector &b) const;
char *print();
};