mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* class.c (move_refined_method): same as the last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
408fa5e687
commit
2e2bd1c26b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Aug 12 18:00:17 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* class.c (move_refined_method): same as the last commit.
|
||||
|
||||
Wed Aug 12 17:57:53 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* class.c, gc.c vm.c: use ID_TABLE_* instead of ST_*
|
||||
|
|
2
class.c
2
class.c
|
@ -920,7 +920,7 @@ move_refined_method(ID key, VALUE value, void *data)
|
|||
new_me = rb_method_entry_clone(me);
|
||||
rb_id_table_insert(tbl, key, (VALUE)new_me);
|
||||
rb_method_entry_copy(me, orig_me);
|
||||
return ST_CONTINUE;
|
||||
return ID_TABLE_CONTINUE;
|
||||
}
|
||||
else {
|
||||
rb_id_table_insert(tbl, key, (VALUE)me);
|
||||
|
|
Loading…
Reference in a new issue