Merge pull request 'Possible bugfix found by coverity in TimeMessage' (#412) from mueller/timemessage-override-fix into development

Reviewed-on: fsfw/fsfw#412
This commit is contained in:
Steffen Gaisser 2021-04-20 17:49:44 +02:00
commit 2878f21c93
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,6 @@ uint32_t TimeMessage::getCounterValue() {
return temp;
}
size_t TimeMessage::getMinimumMessageSize() {
size_t TimeMessage::getMinimumMessageSize() const {
return this->MAX_SIZE;
}

View File

@ -11,7 +11,7 @@ protected:
* @brief This call always returns the same fixed size of the message.
* @return Returns HEADER_SIZE + \c sizeof(timeval) + sizeof(uint32_t).
*/
size_t getMinimumMessageSize();
size_t getMinimumMessageSize() const override;
public:
/**