[buffer]
fixed '==' operator
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ class Buffer
|
||||
|
||||
for (int i=0; i < this->capacity(); i++)
|
||||
{
|
||||
if (this->m_buffer[i] != other.m_buffer[i])
|
||||
if ((*this)[i] != other[i])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user