From 16413778c8ad6e65fab837f59f62bea691b171e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 6 Sep 2015 21:46:12 +0200 Subject: [PATCH] MSVC 2015 compatibility: more {}-related issues. --- src/Magnum/Math/Dual.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Math/Dual.h b/src/Magnum/Math/Dual.h index 6ea8f04f8..83f2df9fe 100644 --- a/src/Magnum/Math/Dual.h +++ b/src/Magnum/Math/Dual.h @@ -58,8 +58,9 @@ template class Dual { #ifdef DOXYGEN_GENERATING_OUTPUT explicit Dual(NoInitT); #else - template{}>::type> Dual(NoInitT) {} - template{}>::type> Dual(NoInitT): _real{NoInit}, _dual{NoInit} {} + /* MSVC 2015 can't handle {} instead of ::value */ + template::value>::type> Dual(NoInitT) {} + template::value>::type> Dual(NoInitT): _real{NoInit}, _dual{NoInit} {} #endif /**