diff --git a/src/Magnum/Math/DualComplex.h b/src/Magnum/Math/DualComplex.h index e53714725..07c888e7b 100644 --- a/src/Magnum/Math/DualComplex.h +++ b/src/Magnum/Math/DualComplex.h @@ -157,7 +157,8 @@ template class DualComplex: public Dual> { */ template constexpr explicit DualComplex(const DualComplex& other) #ifndef DOXYGEN_GENERATING_OUTPUT - : Dual>{other} + /* MSVC 2015 can't handle {} here */ + : Dual>(other) #endif {} diff --git a/src/Magnum/Math/DualQuaternion.h b/src/Magnum/Math/DualQuaternion.h index a173950bc..58b10a672 100644 --- a/src/Magnum/Math/DualQuaternion.h +++ b/src/Magnum/Math/DualQuaternion.h @@ -201,7 +201,8 @@ template class DualQuaternion: public Dual> { */ constexpr /*implicit*/ DualQuaternion(const Dual>& vector, const Dual& scalar) #ifndef DOXYGEN_GENERATING_OUTPUT - : Dual>{{vector.real(), scalar.real()}, {vector.dual(), scalar.dual()}} + /* MSVC 2015 can't handle {} here */ + : Dual>({vector.real(), scalar.real()}, {vector.dual(), scalar.dual()}) #endif {}