additional comment for oprator overload
This commit is contained in:
parent
26103aa8cc
commit
77565c7412
@ -45,6 +45,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
uint8_t opcode;
|
uint8_t opcode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Operator overload for the comparison operator to
|
||||||
|
* allow sorting by polling time.
|
||||||
|
* @param fixedSequenceSlot
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
bool operator <(const FixedSequenceSlot & fixedSequenceSlot) const {
|
bool operator <(const FixedSequenceSlot & fixedSequenceSlot) const {
|
||||||
return pollingTimeMs < fixedSequenceSlot.pollingTimeMs;
|
return pollingTimeMs < fixedSequenceSlot.pollingTimeMs;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user