X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FUtils.pm;h=13c2a0255964a4e217cbbb4e3fe5fa24690d6971;hb=11c270bdda5402dc39e2ca54dfd65af42dedbe3c;hp=5d5cfc3686e30a46e31ec402bb9e0eb2efb66976;hpb=6a893485c342dfec4041f00eb10438ccc9327b65;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Utils.pm b/lib/Catalyst/Utils.pm index 5d5cfc3..13c2a02 100644 --- a/lib/Catalyst/Utils.pm +++ b/lib/Catalyst/Utils.pm @@ -265,8 +265,6 @@ sub ensure_class_loaded { return if !$opts->{ ignore_loaded } && Class::MOP::is_class_loaded($class); # if a symbol entry exists we don't load again - # FIXME - as soon as Class::MOP 0.67 + 1 is released Class::MOP::load_class($class) can be used instead - # this hack is so we don't overwrite $@ if the load did not generate an error my $error; {