Skip to content

Commit 668084c

Browse files
committed
cppcheck fixes
1 parent 5ef2fe2 commit 668084c

15 files changed

Lines changed: 15 additions & 15 deletions

include/vsg/app/CommandGraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace vsg
5454
ref_ptr<Instrumentation> instrumentation;
5555

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

5959
CommandBuffers _commandBuffers; // assign one per index? Or just use round robin, each has a CommandPool
6060
};

include/vsg/app/SecondaryCommandGraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace vsg
4343
void record(ref_ptr<RecordedCommandBuffers> recordedCommandBuffers, ref_ptr<FrameStamp> frameStamp = {}, ref_ptr<DatabasePager> databasePager = {}) override;
4444

4545
protected:
46-
virtual ~SecondaryCommandGraph();
46+
~SecondaryCommandGraph() override;
4747

4848
friend ExecuteCommands;
4949

include/vsg/app/UpdateOperations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace vsg
5555
virtual void run();
5656

5757
protected:
58-
virtual ~UpdateOperations();
58+
~UpdateOperations() override;
5959

6060
mutable std::mutex _updateOperationMutex;
6161
std::list<ref_ptr<Operation>> _updateOperationsOneTime;

include/vsg/app/View.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace vsg
9090
GraphicsPipelineStates overridePipelineStates;
9191

9292
protected:
93-
virtual ~View();
93+
~View() override;
9494
};
9595
VSG_type_name(vsg::View);
9696

include/vsg/app/Viewer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ namespace vsg
149149
void assignInstrumentation(ref_ptr<Instrumentation> in_instrumentation);
150150

151151
protected:
152-
virtual ~Viewer();
152+
~Viewer() override;
153153

154154
bool _close = false;
155155

include/vsg/app/Window.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ namespace vsg
134134
protected:
135135
Window(ref_ptr<WindowTraits> traits);
136136

137-
virtual ~Window();
137+
~Window() override;
138138

139139
virtual void _initSurface() = 0;
140140
void _initFormats();

include/vsg/app/WindowAdapter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace vsg
4141
bool windowValid = false;
4242

4343
protected:
44-
virtual ~WindowAdapter() {}
44+
~WindowAdapter() override {}
4545

4646
void _initSurface() override {};
4747
};

include/vsg/app/WindowTraits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ namespace vsg
9999
std::any systemConnection;
100100

101101
protected:
102-
virtual ~WindowTraits() {}
102+
~WindowTraits() override {}
103103
};
104104
VSG_type_name(vsg::WindowTraits);
105105

include/vsg/state/GraphicsPipeline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ namespace vsg
128128
virtual void release();
129129

130130
public:
131-
virtual ~BindGraphicsPipeline();
131+
~BindGraphicsPipeline() override;
132132
};
133133
VSG_type_name(vsg::BindGraphicsPipeline);
134134

include/vsg/threading/ActivityStatus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace vsg
3333
bool cancel() const noexcept { return !_active; }
3434

3535
protected:
36-
virtual ~ActivityStatus() {}
36+
~ActivityStatus() override {}
3737

3838
std::atomic_bool _active;
3939
};

0 commit comments

Comments
 (0)