Skip to content

Commit 28ad64d

Browse files
committed
cppcheck fixes
1 parent 08c0eba commit 28ad64d

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

include/vsg/commands/BindIndexBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace vsg
4747
void record(CommandBuffer& commandBuffer) const override;
4848

4949
protected:
50-
virtual ~BindIndexBuffer();
50+
~BindIndexBuffer() override;
5151
};
5252
VSG_type_name(vsg::BindIndexBuffer);
5353

include/vsg/commands/BindVertexBuffers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace vsg
4242
void record(CommandBuffer& commandBuffer) const override;
4343

4444
protected:
45-
virtual ~BindVertexBuffers();
45+
~BindVertexBuffers() override;
4646

4747
vk_buffer<VulkanArrayData> _vulkanData;
4848
};

include/vsg/commands/Commands.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace vsg
5757
void record(CommandBuffer& commandBuffer) const override;
5858

5959
protected:
60-
virtual ~Commands();
60+
~Commands() override;
6161
};
6262
VSG_type_name(vsg::Commands);
6363

include/vsg/commands/CopyAndReleaseBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace vsg
3636
void record(CommandBuffer& commandBuffer) const override;
3737

3838
protected:
39-
virtual ~CopyAndReleaseBuffer();
39+
~CopyAndReleaseBuffer() override;
4040

4141
struct CopyData
4242
{

include/vsg/commands/CopyAndReleaseImage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace vsg
5858
void record(CommandBuffer& commandBuffer) const override;
5959

6060
protected:
61-
virtual ~CopyAndReleaseImage();
61+
~CopyAndReleaseImage() override;
6262

6363
void _copyDirectly(ref_ptr<Data> data, ref_ptr<ImageInfo> dest, uint32_t numMipMapLevels);
6464

include/vsg/commands/Event.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace vsg
3636
VkResult status();
3737

3838
protected:
39-
virtual ~Event();
39+
~Event() override;
4040

4141
VkEvent _event;
4242
ref_ptr<Device> _device;

include/vsg/commands/ExecuteCommands.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace vsg
3737
void record(CommandBuffer& commandBuffer) const override;
3838

3939
protected:
40-
virtual ~ExecuteCommands();
40+
~ExecuteCommands() override;
4141

4242
struct CommandGraphAndBuffer
4343
{

include/vsg/commands/NextSubPass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace vsg
3232
VkSubpassContents contents = VK_SUBPASS_CONTENTS_INLINE;
3333

3434
protected:
35-
virtual ~NextSubPass();
35+
~NextSubPass() override;
3636
};
3737
VSG_type_name(vsg::NextSubPass);
3838

include/vsg/commands/PipelineBarrier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ namespace vsg
152152
ImageMemoryBarriers imageMemoryBarriers;
153153

154154
protected:
155-
virtual ~PipelineBarrier();
155+
~PipelineBarrier() override;
156156
};
157157
VSG_type_name(vsg::PipelineBarrier);
158158

0 commit comments

Comments
 (0)