Use new macro CvGV_set() (see perl5133delta)
[gitmo/Mouse.git] / xs-src / MouseUtil.xs
index ae5fb39..2d557a6 100644 (file)
@@ -348,7 +348,7 @@ mouse_install_sub(pTHX_ GV* const gv, SV* const code_ref) {
             }
         }
 
-        CvGV(cv) = gv;
+        CvGV_set(cv, gv);
         CvANON_off(cv);
     }
 }