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()
* @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);
}
#endif

Loading…
Cancel
Save