From dd4cec36ca0229e5dcc45393f59f2633d2e350bf Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 13 Nov 2015 17:20:11 +0000 Subject: * method.h: constify rb_cref_t::scope_visi; * eval_intern.h (CREF_SCOPE_VISI_COPY): catch up this fix. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'method.h') diff --git a/method.h b/method.h index 21a02bc7d0..d36cf38297 100644 --- a/method.h +++ b/method.h @@ -42,7 +42,7 @@ typedef struct rb_cref_struct { const VALUE refinements; const VALUE klass; struct rb_cref_struct * const next; - rb_scope_visibility_t scope_visi; + const rb_scope_visibility_t scope_visi; } rb_cref_t; /* method data type */ -- cgit v1.2.3