Browse Source

Don't export an inline function.

Fixes another MinGW warning.
pull/595/head
Vladimír Vondruš 4 years ago
parent
commit
0aa40f092b
  1. 2
      src/Magnum/PixelFormat.h

2
src/Magnum/PixelFormat.h

@ -834,7 +834,7 @@ MAGNUM_EXPORT bool isPixelFormatDepthOrStencil(PixelFormat format);
* @brief @copybrief pixelFormatSize() * @brief @copybrief pixelFormatSize()
* @m_deprecated_since_latest Use @ref pixelFormatSize() instead. * @m_deprecated_since_latest Use @ref pixelFormatSize() instead.
*/ */
MAGNUM_EXPORT CORRADE_DEPRECATED("use pixelFormatSize() instead") inline UnsignedInt pixelSize(PixelFormat format) { CORRADE_DEPRECATED("use pixelFormatSize() instead") inline UnsignedInt pixelSize(PixelFormat format) {
return pixelFormatSize(format); return pixelFormatSize(format);
} }
#endif #endif

Loading…
Cancel
Save