diff --git a/src/Magnum/MeshTools/Interleave.h b/src/Magnum/MeshTools/Interleave.h index ca150c6f3..6295f00ca 100644 --- a/src/Magnum/MeshTools/Interleave.h +++ b/src/Magnum/MeshTools/Interleave.h @@ -47,7 +47,8 @@ namespace Implementation { cyclic dependencies) */ struct AttributeCount { template typename std::enable_if::value, std::size_t>::type operator()(const T& first, const U&... next) const { - CORRADE_ASSERT(sizeof...(next) == 0 || AttributeCount{}(next...) == first.size() || AttributeCount{}(next...) == ~std::size_t(0), "MeshTools::interleave(): attribute arrays don't have the same length, expected" << first.size() << "but got" << AttributeCount{}(next...), 0); + /* {} causes ICE in MSVC 2013 */ + CORRADE_ASSERT(sizeof...(next) == 0 || AttributeCount()(next...) == first.size() || AttributeCount()(next...) == ~std::size_t(0), "MeshTools::interleave(): attribute arrays don't have the same length, expected" << first.size() << "but got" << AttributeCount()(next...), 0); return first.size(); }