diff -r 95fde37e1f00 -r 778eed342ee4 src/bbox.h --- a/src/bbox.h Sat Jun 01 20:31:33 2013 +0300 +++ b/src/bbox.h Sat Jun 01 21:36:03 2013 +0300 @@ -40,7 +40,7 @@ void calculate (); double size () const; void calcObject (LDObject* obj); - void calcVertex (vertex v); + void calcVertex (const vertex& v); vertex center () const; bbox& operator<< (LDObject* obj) { @@ -48,7 +48,7 @@ return *this; } - bbox& operator<< (vertex& v) { + bbox& operator<< (const vertex& v) { calcVertex (v); return *this; }