update IF method
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good

This commit is contained in:
Robin Müller 2022-04-11 14:07:02 +02:00
parent 8c2105ae0a
commit 95f018a0b0
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
3 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ MessageQueueId_t MessageQueueBase::getId() const {
return id;
}
MqArgs* MessageQueueBase::getMqArgs() {
return &args;
MqArgs& MessageQueueBase::getMqArgs() {
return args;
}
void MessageQueueBase::setDefaultDestination(MessageQueueId_t defaultDestination) {

View File

@ -12,7 +12,7 @@ public:
// Default implementations for MessageQueueIF where possible
virtual MessageQueueId_t getLastPartner() const override;
virtual MessageQueueId_t getId() const override;
virtual MqArgs* getMqArgs() override;
virtual MqArgs& getMqArgs() override;
virtual void setDefaultDestination(MessageQueueId_t defaultDestination) override;
virtual MessageQueueId_t getDefaultDestination() const override;
virtual bool isDefaultDestinationSet() const override;

View File

@ -161,7 +161,7 @@ class MessageQueueIF {
virtual bool isDefaultDestinationSet() const = 0;
virtual MqArgs* getMqArgs() = 0;
virtual MqArgs& getMqArgs() = 0;
};
#endif /* FSFW_IPC_MESSAGEQUEUEIF_H_ */