diff --git a/src/Plugins/MagnumFont/MagnumFont.cpp b/src/Plugins/MagnumFont/MagnumFont.cpp index 811f2a2cd..4bfd97c61 100644 --- a/src/Plugins/MagnumFont/MagnumFont.cpp +++ b/src/Plugins/MagnumFont/MagnumFont.cpp @@ -36,6 +36,10 @@ namespace Magnum { namespace Text { struct MagnumFont::Data { + #ifdef CORRADE_GCC46_COMPATIBILITY + explicit Data(Utility::Configuration&& conf, Trade::ImageData2D&& image, std::unordered_map&& glyphId, std::vector&& glyphAdvance): conf(std::move(conf)), image(std::move(image)), glyphId(std::move(glyphId)), glyphAdvance(std::move(glyphAdvance)) {} + #endif + Utility::Configuration conf; Trade::ImageData2D image; std::unordered_map glyphId;