diff --git a/src/Magnum/Trade/MaterialData.h b/src/Magnum/Trade/MaterialData.h index 6e716c2e2..71e475419 100644 --- a/src/Magnum/Trade/MaterialData.h +++ b/src/Magnum/Trade/MaterialData.h @@ -2621,6 +2621,8 @@ CORRADE_IGNORE_DEPRECATED_POP namespace Implementation { /* LCOV_EXCL_START */ + /* Has to be a struct because there can't be partial specializations for a + function (which we need for pointers) */ template struct MaterialAttributeTypeFor { /* C++ why there isn't an obvious way to do such a thing?! */ static_assert(sizeof(T) == 0, "unsupported attribute type");