pmc/rectangle.cc
changeset 43 cf8c1b5127b2
parent 42 83b8151b966d
child 45 7197576fedcf
--- a/pmc/rectangle.cc
+++ b/pmc/rectangle.cc
@@ -18,7 +18,7 @@
     surface = s;
 }
 
-Rectangle::Rectangle (Surface * s, Vector p1, Vector p2, Vector p3, Vector p4)
+Rectangle::Rectangle (Surface * s, Vector& p1, Vector& p2, Vector& p3, Vector& p4)
 {
     P[0] = new Vector (p1);
     P[1] = new Vector (p2);