Skip to content

Commit

Permalink
VertexBuffer: Use = default
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Aug 2, 2021
1 parent 4e25193 commit bb0ac6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/VertexBuffer.h
Expand Up @@ -48,7 +48,7 @@ class IndexBuffer : private boost::noncopyable {
virtual Index * lock(BufferFlags flags = 0, size_t offset = 0, size_t count = size_t(-1)) = 0;
virtual void unlock() = 0;

virtual ~IndexBuffer() { }
virtual ~IndexBuffer() = default;

protected:

Expand All @@ -73,7 +73,7 @@ class VertexBuffer : private boost::noncopyable {
virtual void draw(Renderer::Primitive primitive, size_t count, size_t offset = 0) const = 0;
virtual void drawIndexed(Renderer::Primitive primitive, size_t count, size_t offset, const unsigned short * indices, size_t nbindices) const = 0;

virtual ~VertexBuffer() { }
virtual ~VertexBuffer() = default;

protected:

Expand Down

0 comments on commit bb0ac6c

Please sign in to comment.