From f565f417f386c5d13f73da8b3eca19847dc4367c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 22 Mar 2012 16:36:07 +0100 Subject: utils/dimension: added template for types of the metrics --- src/utils/rectangle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/rectangle.hpp') diff --git a/src/utils/rectangle.hpp b/src/utils/rectangle.hpp index e2fddc78..016e86d3 100644 --- a/src/utils/rectangle.hpp +++ b/src/utils/rectangle.hpp @@ -56,7 +56,7 @@ namespace usdx { } - Rectangle(const Point& point1, const Dimension& dimension) : + Rectangle(const Point& point1, const Dimension& dimension) : point1(point1), point2(point1.get_x() + dimension.get_width(), point1.get_y() + dimension.get_height()) -- cgit v1.2.3