From 2eb17d00833beb3a15e79cba563a6c16b25c7e68 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Thu, 17 Nov 2016 11:50:15 +0100 Subject: [PATCH] Revetr previous paatch for SGVec4 so close to the release --- simgear/math/SGVec4.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/simgear/math/SGVec4.hxx b/simgear/math/SGVec4.hxx index c8faf20f..4339dfd9 100644 --- a/simgear/math/SGVec4.hxx +++ b/simgear/math/SGVec4.hxx @@ -19,7 +19,6 @@ #define SGVec4_H #include -#include "simd.hxx" /// 4D Vector Class template @@ -93,10 +92,10 @@ public: /// Readonly raw storage interface const T (&data(void) const)[4] - { return _data.ptr(); } + { return _data; } /// Readonly raw storage interface T (&data(void))[4] - { return _data.ptr(); } + { return _data; } /// Inplace addition SGVec4& operator+=(const SGVec4& v) @@ -127,7 +126,7 @@ public: { return SGVec4(0, 0, 0, 1); } private: - simd4_t _data; + T _data[4]; }; /// Unary +, do nothing ...