Fix typo in RHASH_ST_CLEAR
We should be setting as.st and not as.ar.
This commit is contained in:
parent
ffd52412ab
commit
4e037075ae
@ -202,8 +202,8 @@ RHASH_ST_SIZE(VALUE h)
|
||||
static inline void
|
||||
RHASH_ST_CLEAR(VALUE h)
|
||||
{
|
||||
RHASH(h)->as.st = NULL;
|
||||
FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG);
|
||||
RHASH(h)->as.ar = NULL;
|
||||
}
|
||||
|
||||
static inline unsigned
|
||||
|
Loading…
x
Reference in New Issue
Block a user