summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-03 02:09:01 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-03 02:09:01 +0900
commitbdddaa9f56702e1d3a58a14607e9881052424b53 (patch)
treeccbb221801b714a90148cf8454ff69b7e4f27d0d /ext
parent0f283054e7f568f09fbfc952d57ea6daf4abbd88 (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 'ext')
-rw-r--r--ext/coverage/coverage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c
index c7f5a5e34b..05026e1ba2 100644
--- a/ext/coverage/coverage.c
+++ b/ext/coverage/coverage.c
@@ -54,7 +54,7 @@ rb_coverage_start(int argc, VALUE *argv, VALUE klass)
}
if (mode & COVERAGE_TARGET_METHODS) {
- me2counter = rb_hash_new_compare_by_id();
+ me2counter = rb_ident_hash_new();
}
else {
me2counter = Qnil;