diff --git a/src/Magnum/BufferImage.h b/src/Magnum/BufferImage.h index 7226e9f29..5774315d4 100644 --- a/src/Magnum/BufferImage.h +++ b/src/Magnum/BufferImage.h @@ -104,8 +104,9 @@ template class BufferImage { /* To avoid decay of sized arrays and nullptr to const void* and unwanted use of deprecated function */ template explicit BufferImage(PixelFormat format, PixelType type, const VectorTypeFor& size, const T(&data)[dataSize], BufferUsage usage): BufferImage{{}, format, type, size, Containers::ArrayView{data}, usage} {} - /* To avoid ambiguous overload when passing Containers::Array */ + /* To avoid ambiguous overload when passing Containers::Array[View] */ template explicit BufferImage(PixelFormat format, PixelType type, const VectorTypeFor& size, const Containers::Array& data, BufferUsage usage): BufferImage{{}, format, type, size, Containers::ArrayView{data}, usage} {} + template explicit BufferImage(PixelFormat format, PixelType type, const VectorTypeFor& size, const Containers::ArrayView& data, BufferUsage usage): BufferImage{{}, format, type, size, Containers::ArrayView{data}, usage} {} #endif #endif