diff --git a/libraries/shared/src/TriangleSet.h b/libraries/shared/src/TriangleSet.h index cc9dd1cc6d..87336c77af 100644 --- a/libraries/shared/src/TriangleSet.h +++ b/libraries/shared/src/TriangleSet.h @@ -9,14 +9,14 @@ // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // -#include +#include #include "AABox.h" #include "GeometryUtil.h" class TriangleSet { public: - void reserve(size_t size) { _triangles.reserve((int)size); } // reserve space in the datastructure for size number of triangles + void reserve(size_t size) { _triangles.reserve(size); } // reserve space in the datastructure for size number of triangles void insert(const Triangle& t); void clear(); @@ -33,6 +33,6 @@ public: const AABox& getBounds() const { return _bounds; } private: - QVector _triangles; + std::vector _triangles; AABox _bounds; };