aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils/point.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/point.hpp b/src/utils/point.hpp
index f897dbf6..40660941 100644
--- a/src/utils/point.hpp
+++ b/src/utils/point.hpp
@@ -76,28 +76,28 @@ namespace usdx
}
- Point& operator+=(const Point &other)
+ Point<T>& operator+=(const Point<T> &other)
{
x += other.x;
y += other.y;
return *this;
}
- Point& operator-=(const Point &other)
+ Point<T>& operator-=(const Point<T> &other)
{
x -= other.x;
y -= other.y;
return *this;
}
- const Point operator+(const Point &other) const
+ const Point<T> operator+(const Point<T> &other) const
{
Point<T> result(*this);
result += other;
return result;
}
- const Point operator-(const Point &other) const
+ const Point<T> operator-(const Point<T> &other) const
{
Point<T> result(*this);
result -= other;