diff --git a/src/framework/util/point.h b/src/framework/util/point.h index e9fc6557..41512924 100644 --- a/src/framework/util/point.h +++ b/src/framework/util/point.h @@ -77,7 +77,7 @@ public: T manhattanLength() const { return std::abs(x) + std::abs(y); } float distanceFrom(const TPoint& other) const { - return TPoint(x - other.x, y - other.y).getLength(); + return TPoint(x - other.x, y - other.y).length(); } T x, y;