From: Jesse Luehrs Date: Sat, 17 Apr 2010 02:20:05 +0000 (-0500) Subject: remove unused sub X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a6f579527f3e20150fa54c30ddbb2deef60becfd;p=gitmo%2FMoose.git remove unused sub --- diff --git a/lib/Moose/Util/TypeConstraints.pm b/lib/Moose/Util/TypeConstraints.pm index af986a2..e86d041 100644 --- a/lib/Moose/Util/TypeConstraints.pm +++ b/lib/Moose/Util/TypeConstraints.pm @@ -703,8 +703,6 @@ subtype 'Object' => as 'Ref' => subtype 'Role' => as 'Object' => where { $_->can('does') } => optimize_as \&Moose::Util::TypeConstraints::OptimizedConstraints::Role; -my $_class_name_checker = sub { }; - subtype 'ClassName' => as 'Str' => where { Class::MOP::is_class_loaded($_) } => inline_as Moose::Util::TypeConstraints::OptimizedConstraints::InlineClassName;