From: Elizabeth Mattijsen Date: Sun, 2 Jun 2002 21:36:05 +0000 (+0200) Subject: [ID 20020602.004] threads::shared::queue new nit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b85e2730eebef8b98d3805d81785e62eb682f49;p=p5sagit%2Fp5-mst-13.2.git [ID 20020602.004] threads::shared::queue new nit Message-Id: <4.2.0.58.20020602213520.027cf9d0@mickey.dijkmat.nl> p4raw-id: //depot/perl@17003 --- diff --git a/ext/threads/shared/queue.pm b/ext/threads/shared/queue.pm index 02a5c2c..b5e40a8 100644 --- a/ext/threads/shared/queue.pm +++ b/ext/threads/shared/queue.pm @@ -68,8 +68,7 @@ L, L sub new { my $class = shift; my @q : shared = @_; - my $q = \@q; - return bless $q, $class; + return bless \@q, $class; } sub dequeue {