From bd906c8641bb8950f1786d8a7c435bdec9fab967 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jarkko=20P=C3=B6yry?= Date: Wed, 11 Mar 2015 15:05:38 -0700 Subject: [PATCH] Remove user-defined dtor and operator=() from tcu::Vector. Change-Id: I7373193f9c4727bc74028dfadd6db0102ac45ff2 --- framework/common/tcuVector.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/framework/common/tcuVector.hpp b/framework/common/tcuVector.hpp index e608683..a88aafd 100644 --- a/framework/common/tcuVector.hpp +++ b/framework/common/tcuVector.hpp @@ -109,7 +109,6 @@ public: Vector (T x_, T y_, T z_, T w_); Vector (const Vector& v); Vector (const T (&v)[Size]); - ~Vector (void); const T* getPtr (void) const { return &m_data[0]; } T* getPtr (void) { return &m_data[0]; } @@ -153,7 +152,6 @@ public: Vector asBool (void) const { return cast(); } // Operators. - Vector& operator= (const Vector& v) { for (int i = 0; i < Size; i++) m_data[i] = v.m_data[i]; return *this; } Vector& operator+= (const Vector& v); Vector& operator-= (const Vector& v); @@ -261,13 +259,6 @@ inline Vector Vector::toWidth (void) const return res; } -// \todo [petri] Other conversions! - -template -inline Vector::~Vector (void) -{ -} - // Operators. template -- 2.7.4