summaryrefslogtreecommitdiff
path: root/Examples/python/smartptr/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/python/smartptr/example.h')
-rw-r--r--Examples/python/smartptr/example.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/python/smartptr/example.h b/Examples/python/smartptr/example.h
index c0f9b1d57..c18e7eaf4 100644
--- a/Examples/python/smartptr/example.h
+++ b/Examples/python/smartptr/example.h
@@ -7,7 +7,7 @@ public:
}
virtual ~Shape() {
nshapes--;
- };
+ }
double x, y;
void move(double dx, double dy);
virtual double area() = 0;
@@ -19,7 +19,7 @@ class Circle : public Shape {
private:
double radius;
public:
- Circle(double r) : radius(r) { };
+ Circle(double r) : radius(r) { }
virtual double area();
virtual double perimeter();
};