diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-07-03 02:09:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-07-03 02:09:01 +0900 |
commit | bdddaa9f56702e1d3a58a14607e9881052424b53 (patch) | |
tree | ccbb221801b714a90148cf8454ff69b7e4f27d0d /variable.c | |
parent | 0f283054e7f568f09fbfc952d57ea6daf4abbd88 (diff) |
Use rb_ident_hash_new instead of rb_hash_new_compare_by_id
The latter is same as the former, removed the duplicate function.
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 476701d060..7d6905f390 100644 --- a/variable.c +++ b/variable.c @@ -2020,7 +2020,7 @@ rb_autoload_str(VALUE mod, ID id, VALUE file) } file = rb_fstring(file); if (!autoload_featuremap) { - autoload_featuremap = rb_hash_new_compare_by_id(); + autoload_featuremap = rb_ident_hash_new(); rb_obj_hide(autoload_featuremap); rb_gc_register_mark_object(autoload_featuremap); } |