From 4c4dc8ae757a6d39e4ac3a1c9fd2f1a8c39738ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 3 Dec 2013 15:33:14 +0100 Subject: [PATCH] MSVC 2013 compatibility: no rvalue references for *this. --- src/Math/RectangularMatrix.h | 4 ++-- src/Math/Vector.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Math/RectangularMatrix.h b/src/Math/RectangularMatrix.h index 5a540bcaa..fced33688 100644 --- a/src/Math/RectangularMatrix.h +++ b/src/Math/RectangularMatrix.h @@ -180,14 +180,14 @@ template class RectangularMatrix { * @see operator[] */ T* data() - #ifndef CORRADE_GCC47_COMPATIBILITY + #if !defined(CORRADE_GCC47_COMPATIBILITY) && !defined(CORRADE_MSVC2013_COMPATIBILITY) & #endif { return _data[0].data(); } /** @overload */ constexpr const T* data() - #ifndef CORRADE_GCC47_COMPATIBILITY + #if !defined(CORRADE_GCC47_COMPATIBILITY) && !defined(CORRADE_MSVC2013_COMPATIBILITY) const & #else const diff --git a/src/Math/Vector.h b/src/Math/Vector.h index adc5d4f25..edd6f49f2 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -195,14 +195,14 @@ template class Vector { * @see operator[]() */ T* data() - #ifndef CORRADE_GCC47_COMPATIBILITY + #if !defined(CORRADE_GCC47_COMPATIBILITY) && !defined(CORRADE_MSVC2013_COMPATIBILITY) & #endif { return _data; } /** @overload */ constexpr const T* data() - #ifndef CORRADE_GCC47_COMPATIBILITY + #if !defined(CORRADE_GCC47_COMPATIBILITY) && !defined(CORRADE_MSVC2013_COMPATIBILITY) const & #else const