summaryrefslogtreecommitdiff
path: root/Examples/csharp/reference/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/csharp/reference/example.h')
-rw-r--r--Examples/csharp/reference/example.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Examples/csharp/reference/example.h b/Examples/csharp/reference/example.h
index 4915adb1b..bcfcfb72f 100644
--- a/Examples/csharp/reference/example.h
+++ b/Examples/csharp/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();
};
@@ -20,7 +20,3 @@ public:
Vector &operator[](int);
int size();
};
-
-
-
-