From 98e9ac2d9245d6c246cf353f0eafd00ea980b028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 12 Jul 2017 16:23:53 +0200 Subject: [PATCH] Minor cleanup. --- src/Magnum/Image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Image.h b/src/Magnum/Image.h index 5e34ed6e6..a672acb96 100644 --- a/src/Magnum/Image.h +++ b/src/Magnum/Image.h @@ -204,7 +204,7 @@ template class Image { * @deprecated Use @ref setData(PixelFormat, PixelType, const VectorTypeFor&, Containers::Array&&) * instead. */ - void CORRADE_DEPRECATED("use setData(PixelFormat, PixelType, const VectorTypeFor&, Containers::ArrayView) instead") setData(PixelFormat format, PixelType type, const VectorTypeFor& size, void* data) { + void CORRADE_DEPRECATED("use setData(PixelFormat, PixelType, const VectorTypeFor&, Containers::ArrayView) instead") setData(PixelFormat format, PixelType type, const VectorTypeFor& size, void* data) { setData({}, format, type, size, Containers::Array{reinterpret_cast(data), Implementation::imageDataSizeFor(format, type, size)}); } #endif