diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-13 17:20:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-13 17:20:11 +0000 |
commit | dd4cec36ca0229e5dcc45393f59f2633d2e350bf (patch) | |
tree | 103742b8a708b0ffe530370e3a5f124ca7f64b68 /method.h | |
parent | 6687b34876a2677bb1d7288de82376960fb35ec7 (diff) | |
download | ruby-dd4cec36ca0229e5dcc45393f59f2633d2e350bf.tar.gz |
* 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
Diffstat (limited to 'method.h')
-rw-r--r-- | method.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |