X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FMOP.pm;h=3059968ed98851090cb4a1edefa3acf26c7183b1;hb=37a46507b7f6a008935b5f26255cda64b3be30ed;hp=7393ac7aa86093233ee0db9823dc92169db468a3;hpb=bc2c41b4129a05d2cd4aa6729de6529d49dd89f2;p=gitmo%2FClass-MOP.git diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 7393ac7..3059968 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -668,13 +668,13 @@ Class::MOP::Instance->meta->add_attribute( ## Class::MOP::Object # need to replace the meta method there with a real meta method object -Class::MOP::Object->meta->_add_meta_method; +Class::MOP::Object->meta->_add_meta_method('meta'); ## -------------------------------------------------------- ## Class::MOP::Mixin # need to replace the meta method there with a real meta method object -Class::MOP::Mixin->meta->_add_meta_method; +Class::MOP::Mixin->meta->_add_meta_method('meta'); require Class::MOP::Deprecated unless our $no_deprecated;