From bce8879d7cb9e6a2cf3aed1051fbfd9850911846 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Wed, 1 Jun 2016 12:24:28 -0700 Subject: [PATCH] remove ShapeInfo::clearPoints() use getPoints() by ref and then clear --- libraries/shared/src/ShapeInfo.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/shared/src/ShapeInfo.h b/libraries/shared/src/ShapeInfo.h index 979ab782d0..c853666d90 100644 --- a/libraries/shared/src/ShapeInfo.h +++ b/libraries/shared/src/ShapeInfo.h @@ -62,7 +62,6 @@ public: const QVector>& getPoints() const { return _points; } uint32_t getNumSubShapes() const; - void clearPoints () { _points.clear(); } void appendToPoints (const QVector& newPoints) { _points << newPoints; } int getMaxNumPoints() const;