]> git.vpit.fr Git - perl/modules/autovivification.git/commitdiff
The hint in a_hint() need not to be const
authorVincent Pit <vince@profvince.com>
Thu, 18 Jun 2009 23:28:27 +0000 (01:28 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 18 Jun 2009 23:28:27 +0000 (01:28 +0200)
autovivification.xs

index 93ec5cfc00183d7b205b38586e2d856349f30b5b..a71eb6430923c99f7c7ca0521294065eca1193cd 100644 (file)
@@ -115,7 +115,7 @@ STATIC U32 a_hash = 0;
 
 STATIC UV a_hint(pTHX) {
 #define a_hint() a_hint(aTHX)
const SV *hint;
+ SV *hint;
 #if A_HAS_PERL(5, 9, 5)
  hint = Perl_refcounted_he_fetch(aTHX_ PL_curcop->cop_hints_hash,
                                        NULL,