From c5373262ca1acff4f26b820d69d6c472634456ee Mon Sep 17 00:00:00 2001 From: cutealien Date: Thu, 19 Jan 2023 23:26:20 +0000 Subject: [PATCH] Use qualifed id instead of virtual function calls in CVertexBuffer constructors Another find by cppcheck tool git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6448 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/CVertexBuffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/CVertexBuffer.h b/include/CVertexBuffer.h index aa8049f..7a91350 100644 --- a/include/CVertexBuffer.h +++ b/include/CVertexBuffer.h @@ -75,18 +75,18 @@ namespace scene CVertexBuffer(video::E_VERTEX_TYPE vertexType) : Vertices(0), MappingHint(EHM_NEVER), ChangedID(1) { - setType(vertexType); + CVertexBuffer::setType(vertexType); } CVertexBuffer(const IVertexBuffer &VertexBufferCopy) : Vertices(0), MappingHint(EHM_NEVER), ChangedID(1) { - setType(VertexBufferCopy.getType()); - reallocate(VertexBufferCopy.size()); + CVertexBuffer::setType(VertexBufferCopy.getType()); + CVertexBuffer::reallocate(VertexBufferCopy.size()); for (u32 n=0;n