summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2016-10-19 11:14:26 +0200
committerYves Orton <demerphq@gmail.com>2016-10-19 13:28:01 +0200
commit9fb4aef8dd5425397148cefa4dbd8db6d0697216 (patch)
tree381ea59f1fd04246ed04451d232b8430fa7a6d22 /hv.c
parented0faf2e83103ec1f523eb2944e34634a4ed199d (diff)
downloadperl-9fb4aef8dd5425397148cefa4dbd8db6d0697216.tar.gz
hv.c: use new SvPVCLEAR and constant string friendly macros
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index ad7802cad8..7d9579c8bc 100644
--- a/hv.c
+++ b/hv.c
@@ -1199,7 +1199,7 @@ S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
sv_2mortal((SV *)gv)
);
}
- else if (klen == 3 && strnEQ(key, "ISA", 3) && GvAV(gv)) {
+ else if (klen == 3 && strEQs(key, "ISA") && GvAV(gv)) {
AV *isa = GvAV(gv);
MAGIC *mg = mg_find((SV*)isa, PERL_MAGIC_isa);