aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/rectangle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/rectangle.hpp')
-rw-r--r--src/utils/rectangle.hpp2
1 files changed, 1 insertions, 1 deletions
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<T>& point1, const Dimension& dimension) :
+ Rectangle(const Point<T>& point1, const Dimension<T>& dimension) :
point1(point1),
point2(point1.get_x() + dimension.get_width(),
point1.get_y() + dimension.get_height())