Skip to content

Commit d656ebc

Browse files
authored
Remove virtual methods from final classes (nasa#4544)
* Remove virtual methods from final classes * Trigger GitHub Actions
1 parent c4d0f0a commit d656ebc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Svc/Health/HealthComponentImpl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class HealthImpl final : public HealthComponentBase {
8282
//! \brief additional checks function
8383
//!
8484
//! Does additional checks based on the platform
85-
virtual void doOtherChecks();
85+
void doOtherChecks();
8686

8787
private:
8888
//! \brief ping return handler

Svc/TlmChan/TlmChan.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class TlmChan final : public TlmChanComponentBase {
2828

2929
protected:
3030
// can be overridden for alternate algorithms
31-
virtual FwChanIdType doHash(FwChanIdType id);
31+
FwChanIdType doHash(FwChanIdType id);
3232

3333
private:
3434
// Port functions

0 commit comments

Comments
 (0)