Skip to content

Commit c546ee3

Browse files
committed
Remove SizedQueue#freeze
Queue#freeze uses the same C function, so SizedQueue#freeze can use that via normal method lookup.
1 parent e1bae2c commit c546ee3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

thread_sync.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,6 @@ Init_thread_sync(void)
16521652
rb_define_method(rb_cSizedQueue, "clear", rb_szqueue_clear, 0);
16531653
rb_define_method(rb_cSizedQueue, "length", rb_szqueue_length, 0);
16541654
rb_define_method(rb_cSizedQueue, "num_waiting", rb_szqueue_num_waiting, 0);
1655-
rb_define_method(rb_cSizedQueue, "freeze", rb_queue_freeze, 0);
16561655
rb_define_alias(rb_cSizedQueue, "size", "length");
16571656

16581657
/* CVar */

0 commit comments

Comments
 (0)