summaryrefslogtreecommitdiff
path: root/method.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-13 17:20:11 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-13 17:20:11 (GMT)
commitdd4cec36ca0229e5dcc45393f59f2633d2e350bf (patch)
tree103742b8a708b0ffe530370e3a5f124ca7f64b68 /method.h
parent6687b34876a2677bb1d7288de82376960fb35ec7 (diff)
* 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index 21a02bc..d36cf38 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 */