remove unused sub
Jesse Luehrs [Sat, 17 Apr 2010 02:20:05 +0000 (21:20 -0500)]
lib/Moose/Util/TypeConstraints.pm

index af986a2..e86d041 100644 (file)
@@ -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;