summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mro.c b/mro.c
index dfb148983b..a584686997 100644
--- a/mro.c
+++ b/mro.c
@@ -786,9 +786,9 @@ Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash,
if(PL_stashcache)
(void)
hv_delete(PL_stashcache, newname, newname_len, G_DISCARD);
- hv_name_delete(oldstash, newname, newname_len);
+ hv_ename_delete(oldstash, newname, newname_len);
}
- if(stash) hv_name_add(stash, newname, newname_len);
+ if(stash) hv_ename_add(stash, newname, newname_len);
}
/*