diff --git a/src/Magnum/Trade/AbstractImporter.h b/src/Magnum/Trade/AbstractImporter.h index aea8c0a7b2..106123e634 100644 --- a/src/Magnum/Trade/AbstractImporter.h +++ b/src/Magnum/Trade/AbstractImporter.h @@ -134,10 +134,10 @@ MAGNUM_TRADE_EXPORT Debug& operator<<(Debug& debug, ImporterFlags value); #if defined(MAGNUM_BUILD_DEPRECATED) && !defined(DOXYGEN_GENERATING_OUTPUT) /* Could be a concrete type as only MaterialData need this, but that would mean I'd need to include it here */ -template struct MAGNUM_TRADE_EXPORT OptionalButAlsoPointer: Containers::Optional { +template struct OptionalButAlsoPointer: Containers::Optional { /*implicit*/ OptionalButAlsoPointer() = default; /*implicit*/ OptionalButAlsoPointer(Containers::Optional&& optional): Containers::Optional{std::move(optional)} {} - CORRADE_DEPRECATED("use Containers::Optional instead of Containers::Pointer for a MaterialData") /*implicit*/ operator Containers::Pointer() &&; + MAGNUM_TRADE_EXPORT CORRADE_DEPRECATED("use Containers::Optional instead of Containers::Pointer for a MaterialData") /*implicit*/ operator Containers::Pointer() &&; }; #endif