From 8298eaa40112235b5d246003d70e3a35fb59023e Mon Sep 17 00:00:00 2001 From: John Date: Sun, 4 Feb 2024 10:33:21 +0100 Subject: [PATCH] make method const --- src/lib/ebus/symbol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ebus/symbol.h b/src/lib/ebus/symbol.h index 997df7024..e3d0f489c 100755 --- a/src/lib/ebus/symbol.h +++ b/src/lib/ebus/symbol.h @@ -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;