diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/coverage/coverage.c | 2 |
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; |