From 322cb4d1ec9d80cbd3c343bd0235e11aa6dd39ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 21 Jan 2025 13:39:02 +0100 Subject: [PATCH] doc: update documented signatures to match template argument names. This got broken back when MutableImageView was introduced, which made use of T to define data mutability. --- src/Magnum/ImageView.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/ImageView.h b/src/Magnum/ImageView.h index cef0ad420..4373bf9d2 100644 --- a/src/Magnum/ImageView.h +++ b/src/Magnum/ImageView.h @@ -311,7 +311,7 @@ template class ImageView { * @param data Image data * @param flags Image layout flags * - * Uses ADL to find a corresponding @cpp pixelFormatSize(T, U) @ce + * Uses ADL to find a corresponding @cpp pixelFormatSize(U, V) @ce * overload, then calls @ref ImageView(PixelStorage, UnsignedInt, UnsignedInt, UnsignedInt, const VectorTypeFor&, Containers::ArrayView, ImageFlags) * with determined pixel size. */ @@ -325,7 +325,7 @@ template class ImageView { * @param data Image data * @param flags Image layout flags * - * Uses ADL to find a corresponding @cpp pixelFormatSize(T) @ce + * Uses ADL to find a corresponding @cpp pixelFormatSize(U) @ce * overload, then calls @ref ImageView(PixelStorage, UnsignedInt, UnsignedInt, UnsignedInt, const VectorTypeFor&, Containers::ArrayView, ImageFlags) * with determined pixel size and @p formatExtra set to @cpp 0 @ce. */ @@ -364,7 +364,7 @@ template class ImageView { * @param size Image size * @param flags Image layout flags * - * Uses ADL to find a corresponding @cpp pixelFormatSize(T, U) @ce + * Uses ADL to find a corresponding @cpp pixelFormatSize(U, V) @ce * overload, then calls @ref ImageView(PixelStorage, UnsignedInt, UnsignedInt, UnsignedInt, const VectorTypeFor&, ImageFlags) * with determined pixel size. * @@ -380,7 +380,7 @@ template class ImageView { * @param size Image size * @param flags Image layout flags * - * Uses ADL to find a corresponding @cpp pixelFormatSize(T) @ce + * Uses ADL to find a corresponding @cpp pixelFormatSize(U) @ce * overload, then calls @ref ImageView(PixelStorage, UnsignedInt, UnsignedInt, UnsignedInt, const VectorTypeFor&, ImageFlags) * with determined pixel size and @p formatExtra set to @cpp 0 @ce. *