From: Jesse Luehrs Date: Thu, 23 Sep 2010 05:27:22 +0000 (-0500) Subject: adding a meta method here is unnecessary X-Git-Tag: 1.15~36 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65b8b44bdbb12bbc25bec6684ed2a3df0fbdec1c;p=gitmo%2FMoose.git adding a meta method here is unnecessary --- diff --git a/lib/Moose/Meta/Role/Composite.pm b/lib/Moose/Meta/Role/Composite.pm index 333457f..a691e20 100644 --- a/lib/Moose/Meta/Role/Composite.pm +++ b/lib/Moose/Meta/Role/Composite.pm @@ -57,7 +57,6 @@ sub new { roles => [ @composition_roles ], cache => 1, ); - $meta->add_method(meta => sub { $meta }); $class = $meta->name; }