Revert 02471b4ccb
.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
a5fb8ff8be
commit
5e166492d5
|
@ -282,11 +282,9 @@ PH7_PRIVATE sxi32 PH7_ClassInherit(ph7_vm *pVm, ph7_class *pSub, ph7_class *pBas
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Install the method */
|
/* Install the method */
|
||||||
if(pMeth->iProtection != PH7_CLASS_PROT_PRIVATE) {
|
rc = SyHashInsert(&pSub->hMethod, (const void *)pName->zString, pName->nByte, pMeth);
|
||||||
rc = SyHashInsert(&pSub->hMethod, (const void *)pName->zString, pName->nByte, pMeth);
|
if(rc != SXRET_OK) {
|
||||||
if(rc != SXRET_OK) {
|
return rc;
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Mark first inherited class as direct subclass */
|
/* Mark first inherited class as direct subclass */
|
||||||
|
|
Loading…
Reference in New Issue