Browse Source

Correct the condition.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
24c75975e3
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/oop.c

+ 1
- 1
engine/oop.c View File

@ -810,7 +810,7 @@ PH7_PRIVATE sxi32 PH7_ClassInstanceCmp(ph7_class_instance *pLeft, ph7_class_inst
* are identical if and only if they refer to the same instance
* of the same class.
*/
return !(pLeft == pRight);
return pLeft != pRight;
}
/*
* Attribute comparison.

Loading…
Cancel
Save