From f0eac2bc0d93f3abbdf13ffe453cbdaab4e7f297 Mon Sep 17 00:00:00 2001 From: Lynix Date: Mon, 16 Sep 2013 00:36:50 +0200 Subject: [PATCH] Fixed compilation error Former-commit-id: 13b96b7bba638a1843a00264068e1c4858e6d301 --- include/Nazara/Math/OrientedBox.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Nazara/Math/OrientedBox.inl b/include/Nazara/Math/OrientedBox.inl index e5d605da7..7e2e81bd2 100644 --- a/include/Nazara/Math/OrientedBox.inl +++ b/include/Nazara/Math/OrientedBox.inl @@ -156,7 +156,7 @@ NzVector3& NzOrientedBox::operator()(unsigned int i) } #endif - return &m_corners[i]; + return m_corners[i]; } template @@ -173,7 +173,7 @@ NzVector3 NzOrientedBox::operator()(unsigned int i) const } #endif - return &m_corners[i]; + return m_corners[i]; } template