From 5392f9e32b84eb76faea63e50f979d875fb7c406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 Sep 2023 14:47:33 +0200 Subject: [PATCH] Text: why is this GCC 4.8 workaround included always? --- src/Magnum/Text/AbstractFont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Text/AbstractFont.h b/src/Magnum/Text/AbstractFont.h index a6f7b15fb..9fe354c55 100644 --- a/src/Magnum/Text/AbstractFont.h +++ b/src/Magnum/Text/AbstractFont.h @@ -501,7 +501,7 @@ class MAGNUM_TEXT_EXPORT AbstractFont: public PluginManager::AbstractPlugin { * Returned from @ref doOpenFile(), @ref doOpenData(). */ struct Properties { - #ifndef DOXYGEN_GENERATING_OUTPUT + #if defined(CORRADE_TARGET_GCC) && !defined(CORRADE_TARGET_CLANG) && __GNUC__ < 5 /* Otherwise GCC 4.8 loudly complains about missing initializers */ constexpr /*implicit*/ Properties() noexcept: size{}, ascent{}, descent{}, lineHeight{} {} constexpr /*implicit*/ Properties(Float size, Float ascent, Float descent, Float lineHeight) noexcept: size{size}, ascent{ascent}, descent{descent}, lineHeight{lineHeight} {}