make method const
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user