aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-25 21:33:49 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:40:51 +0100
commit64b56f8039ba4d50cbfd3477f097fc4d4ee83d17 (patch)
treeb2cec7180c33d03e2726e7cc564c303f0ce30fd3
parent158ec1c10c7b39014c30164c85a228746fc91795 (diff)
downloadusdx-64b56f8039ba4d50cbfd3477f097fc4d4ee83d17.tar.gz
usdx-64b56f8039ba4d50cbfd3477f097fc4d4ee83d17.tar.xz
usdx-64b56f8039ba4d50cbfd3477f097fc4d4ee83d17.zip
utils/rectangle: the points should be modifiable
-rw-r--r--src/utils/rectangle.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/rectangle.hpp b/src/utils/rectangle.hpp
index 016e86d3..0a7ca954 100644
--- a/src/utils/rectangle.hpp
+++ b/src/utils/rectangle.hpp
@@ -75,12 +75,12 @@ namespace usdx
}
- const Point<T>& get_point1(void) const
+ Point<T>& get_point1(void)
{
return point1;
}
- const Point<T>& get_point2(void) const
+ Point<T>& get_point2(void)
{
return point2;
}