From df58f074b94d3114661ea1c4ee00077ca4018c7f Mon Sep 17 00:00:00 2001 From: skyjake Date: Thu, 31 Jan 2013 22:17:34 +0200 Subject: [PATCH] libdeng2: Cleanup --- doomsday/libdeng2/include/de/rectangle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doomsday/libdeng2/include/de/rectangle.h b/doomsday/libdeng2/include/de/rectangle.h index 719b994106..15c9b61158 100644 --- a/doomsday/libdeng2/include/de/rectangle.h +++ b/doomsday/libdeng2/include/de/rectangle.h @@ -44,7 +44,7 @@ class Rectangle Vector2 size() const { return Vector2(width(), height()); } void setWidth(Type w) { bottomRight.x = topLeft.x + w; } void setHeight(Type h) { bottomRight.y = topLeft.y + h; } - void setSize(const Vector2& s) { setWidth(s.x); setHeight(s.y); } + void setSize(Vector2 const &s) { setWidth(s.x); setHeight(s.y); } void include(Corner const &point) { topLeft = topLeft.min(point); bottomRight = bottomRight.max(point);