diff options
author | Elizabeth Mattijsen <liz@dijkmat.nl> | 2002-06-02 23:36:05 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-05 01:56:00 +0000 |
commit | 3b85e2730eebef8b98d3805d81785e62eb682f49 (patch) | |
tree | c7eeff9c8a91db2ce304806a08c922171cb3bc05 /ext | |
parent | ad2687881774434622fc3b97883d3254e43227ea (diff) | |
download | perl-3b85e2730eebef8b98d3805d81785e62eb682f49.tar.gz |
[ID 20020602.004] threads::shared::queue new nit
Message-Id: <4.2.0.58.20020602213520.027cf9d0@mickey.dijkmat.nl>
p4raw-id: //depot/perl@17003
Diffstat (limited to 'ext')
-rw-r--r-- | ext/threads/shared/queue.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/threads/shared/queue.pm b/ext/threads/shared/queue.pm index 02a5c2cf7d..b5e40a838e 100644 --- a/ext/threads/shared/queue.pm +++ b/ext/threads/shared/queue.pm @@ -68,8 +68,7 @@ L<threads>, L<threads::shared> sub new { my $class = shift; my @q : shared = @_; - my $q = \@q; - return bless $q, $class; + return bless \@q, $class; } sub dequeue { |