some clang-tidy imorovements

This commit is contained in:
Robin Müller 2022-07-27 17:00:57 +02:00
parent c483202852
commit 3acc72470d
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 6 additions and 7 deletions

View File

@ -17,7 +17,7 @@ TmFunnel::TmFunnel(object_id_t objectId, uint32_t messageDepth)
messageDepth, MessageQueueMessage::MAX_MESSAGE_SIZE);
}
TmFunnel::~TmFunnel() {}
TmFunnel::~TmFunnel() = default;
MessageQueueId_t TmFunnel::getReportReceptionQueue(uint8_t virtualChannel) {
return tmQueue->getId();

View File

@ -25,13 +25,12 @@ class TmFunnel : public AcceptsTelemetryIF,
friend void(Factory::setStaticFrameworkObjectIds)();
public:
TmFunnel(object_id_t objectId, uint32_t messageDepth = 20);
virtual ~TmFunnel();
explicit TmFunnel(object_id_t objectId, uint32_t messageDepth = 20);
~TmFunnel() override;
virtual MessageQueueId_t
getReportReceptionQueue(uint8_t virtualChannel = 0) override;
virtual ReturnValue_t performOperation(uint8_t operationCode = 0) override;
virtual ReturnValue_t initialize() override;
MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) override;
ReturnValue_t performOperation(uint8_t operationCode) override;
ReturnValue_t initialize() override;
protected:
static object_id_t downlinkDestination;