From de7e2e0cab3dfdcd19f4fa829daa39edb7fd846a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 30 Sep 2024 12:38:38 +0200 Subject: [PATCH] GL: this inline feels redundant. --- src/Magnum/GL/Mesh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/GL/Mesh.h b/src/Magnum/GL/Mesh.h index cda4e0a9c..0e4fa0ffb 100644 --- a/src/Magnum/GL/Mesh.h +++ b/src/Magnum/GL/Mesh.h @@ -953,7 +953,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { /* So it doesn't clash with the DynamicAttribute overload */ , class = typename std::enable_if::value>::type #endif - > inline Mesh& addVertexBufferInstanced(Buffer& buffer, UnsignedInt divisor, GLintptr offset, const T&... attributes) { + > Mesh& addVertexBufferInstanced(Buffer& buffer, UnsignedInt divisor, GLintptr offset, const T&... attributes) { addVertexBufferInternal(buffer, offset, strideOfInterleaved(attributes...), divisor, attributes...); return *this; } @@ -997,7 +997,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { /* So it doesn't clash with the DynamicAttribute overload */ , class = typename std::enable_if::value>::type #endif - > inline Mesh& addVertexBuffer(Buffer&& buffer, GLintptr offset, const T&... attributes) { + > Mesh& addVertexBuffer(Buffer&& buffer, GLintptr offset, const T&... attributes) { addVertexBuffer(buffer, offset, attributes...); acquireVertexBuffer(Utility::move(buffer)); return *this; @@ -1016,7 +1016,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { /* So it doesn't clash with the DynamicAttribute overload */ , class = typename std::enable_if::value>::type #endif - > inline Mesh& addVertexBufferInstanced(Buffer&& buffer, UnsignedInt divisor, GLintptr offset, const T&... attributes) { + > Mesh& addVertexBufferInstanced(Buffer&& buffer, UnsignedInt divisor, GLintptr offset, const T&... attributes) { addVertexBufferInstanced(buffer, divisor, offset, attributes...); acquireVertexBuffer(Utility::move(buffer)); return *this;