make method const

This commit is contained in:
John
2024-02-04 10:33:21 +01:00
parent 5bf0ab8eaa
commit 8298eaa401
+1 -1
View File
@@ -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;