bugfix found by coverity
This commit is contained in:
parent
17adb2cc3e
commit
0055d34d9a
@ -25,6 +25,6 @@ uint32_t TimeMessage::getCounterValue() {
|
|||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t TimeMessage::getMinimumMessageSize() {
|
size_t TimeMessage::getMinimumMessageSize() const {
|
||||||
return this->MAX_SIZE;
|
return this->MAX_SIZE;
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ protected:
|
|||||||
* @brief This call always returns the same fixed size of the message.
|
* @brief This call always returns the same fixed size of the message.
|
||||||
* @return Returns HEADER_SIZE + \c sizeof(timeval) + sizeof(uint32_t).
|
* @return Returns HEADER_SIZE + \c sizeof(timeval) + sizeof(uint32_t).
|
||||||
*/
|
*/
|
||||||
size_t getMinimumMessageSize();
|
size_t getMinimumMessageSize() const override;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user