From 490217006090e669d13b22c83d90f3a49a9dd8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 31 Dec 2010 16:08:58 +0100 Subject: [PATCH] Use Object pointer instead of const reference. --- src/Object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Object.h b/src/Object.h index 3f35eec74..a6d746ff9 100644 --- a/src/Object.h +++ b/src/Object.h @@ -97,9 +97,9 @@ class Object { * Sets parent and transformation from another object, so they will * appear in the same place. */ - inline void setTransformationFrom(const Object& another) { - setParent(another.parent()); - setTransformation(another.transformation()); + inline void setTransformationFrom(Object* another) { + setParent(another->parent()); + setTransformation(another->transformation()); } /**