Skip to content

Commit

Permalink
make method const
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Feb 4, 2024
1 parent 5bf0ab8 commit 8298eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ebus/symbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class SymbolString {
* Return whether the byte sequence is complete with regard to the header and length field.
* @return true if the sequence is complete.
*/
bool isComplete() {
bool isComplete() const {
size_t lengthOffset = (m_isMaster ? 4 : 0);
if (m_data.size() < lengthOffset + 1) {
return false;
Expand Down

0 comments on commit 8298eaa

Please sign in to comment.