From 2c34110aa91efd3df8bd391ca78517b5105cf73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 20 Oct 2015 20:26:20 +0200 Subject: [PATCH] Math: better qualification of types in Dual subclass implementation macro. --- src/Magnum/Math/Dual.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Magnum/Math/Dual.h b/src/Magnum/Math/Dual.h index 9e9af7d05..3979af08b 100644 --- a/src/Magnum/Math/Dual.h +++ b/src/Magnum/Math/Dual.h @@ -186,27 +186,27 @@ template class Dual { #ifndef DOXYGEN_GENERATING_OUTPUT #define MAGNUM_DUAL_SUBCLASS_IMPLEMENTATION(Type, Underlying) \ Type operator-() const { \ - return Dual>::operator-(); \ + return Math::Dual>::operator-(); \ } \ - Type& operator+=(const Dual>& other) { \ - Dual>::operator+=(other); \ + Type& operator+=(const Math::Dual>& other) { \ + Math::Dual>::operator+=(other); \ return *this; \ } \ - Type operator+(const Dual>& other) const { \ - return Dual>::operator+(other); \ + Type operator+(const Math::Dual>& other) const { \ + return Math::Dual>::operator+(other); \ } \ - Type& operator-=(const Dual>& other) { \ - Dual>::operator-=(other); \ + Type& operator-=(const Math::Dual>& other) { \ + Math::Dual>::operator-=(other); \ return *this; \ } \ - Type operator-(const Dual>& other) const { \ - return Dual>::operator-(other); \ + Type operator-(const Math::Dual>& other) const { \ + return Math::Dual>::operator-(other); \ } \ - template Type operator*(const Dual& other) const { \ - return Dual>::operator*(other); \ + template Type operator*(const Math::Dual& other) const { \ + return Math::Dual>::operator*(other); \ } \ - template Type operator/(const Dual& other) const { \ - return Dual>::operator/(other); \ + template Type operator/(const Math::Dual& other) const { \ + return Math::Dual>::operator/(other); \ } #endif