Skip to content

Commit c46e0fb

Browse files
committed
cppcheck fixes
1 parent d319760 commit c46e0fb

22 files changed

Lines changed: 22 additions & 22 deletions

include/vsg/io/Logger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ namespace vsg
232232
void log_stream(Level msg_level, PrintToStreamFunction print);
233233

234234
protected:
235-
virtual ~Logger();
235+
~Logger() override;
236236

237237
std::mutex _mutex;
238238
std::ostringstream _stream;

include/vsg/nodes/Bin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace vsg
5151
void write(Output& output) const override;
5252

5353
protected:
54-
virtual ~Bin();
54+
~Bin() override;
5555

5656
std::vector<dmat4> _matrices;
5757
std::vector<const StateCommand*> _stateCommands;

include/vsg/nodes/CullGroup.h

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

3838
protected:
39-
virtual ~CullGroup();
39+
~CullGroup() override;
4040
};
4141
VSG_type_name(vsg::CullGroup);
4242

include/vsg/nodes/CullNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace vsg
4343
void write(Output& output) const override;
4444

4545
protected:
46-
virtual ~CullNode();
46+
~CullNode() override;
4747
};
4848
VSG_type_name(vsg::CullNode);
4949

include/vsg/nodes/DepthSorted.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace vsg
4646
void write(Output& output) const override;
4747

4848
protected:
49-
virtual ~DepthSorted();
49+
~DepthSorted() override;
5050
};
5151
VSG_type_name(vsg::DepthSorted);
5252

include/vsg/nodes/Geometry.h

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

5656
protected:
57-
virtual ~Geometry();
57+
~Geometry() override;
5858

5959
vk_buffer<VulkanArrayData> _vulkanData;
6060
VkIndexType indexType = VK_INDEX_TYPE_UINT16;

include/vsg/nodes/Group.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace vsg
5959
void write(Output& output) const override;
6060

6161
protected:
62-
virtual ~Group();
62+
~Group() override;
6363
};
6464
VSG_type_name(vsg::Group);
6565

include/vsg/nodes/InstanceDraw.h

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

5050
protected:
51-
virtual ~InstanceDraw();
51+
~InstanceDraw() override;
5252
};
5353
VSG_type_name(vsg::InstanceDraw)
5454

include/vsg/nodes/InstanceDrawIndexed.h

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

5353
protected:
54-
virtual ~InstanceDrawIndexed();
54+
~InstanceDrawIndexed() override;
5555

5656
VkIndexType indexType = VK_INDEX_TYPE_UINT16;
5757
};

include/vsg/nodes/InstanceNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ namespace vsg
7676
void compile(Context& context) override;
7777

7878
protected:
79-
virtual ~InstanceNode();
79+
~InstanceNode() override;
8080
};
8181
VSG_type_name(vsg::InstanceNode);
8282

0 commit comments

Comments
 (0)