From: Shawn M Moore Date: Sat, 28 Mar 2009 20:04:24 +0000 (-0400) Subject: Use class_of in CMOP::Object::_new X-Git-Tag: 0.80~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d49ce629119cba81ea3791a4ad01c5d2c3ae4df;p=gitmo%2FClass-MOP.git Use class_of in CMOP::Object::_new --- diff --git a/lib/Class/MOP/Object.pm b/lib/Class/MOP/Object.pm index f39203a..f80485f 100644 --- a/lib/Class/MOP/Object.pm +++ b/lib/Class/MOP/Object.pm @@ -18,7 +18,7 @@ sub meta { } sub _new { - shift->meta->new_object(@_); + Class::MOP::class_of(shift)->new_object(@_); } # RANT: