From 46a6724198d8c680f4e395b63d85c7469c59b382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 29 Aug 2021 11:33:44 +0200 Subject: [PATCH] Trade: doc++ --- src/Magnum/Trade/MaterialData.h | 2 ++ 1 file changed, 2 insertions(+) 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");