summaryrefslogtreecommitdiff
path: root/Examples/octave/reference/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/octave/reference/example.h')
-rw-r--r--Examples/octave/reference/example.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/octave/reference/example.h b/Examples/octave/reference/example.h
index 697afafe0..bcfcfb72f 100644
--- a/Examples/octave/reference/example.h
+++ b/Examples/octave/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();
};