From: Dave Rolsky <autarch@urth.org>
Date: Fri, 29 Oct 2010 15:02:27 +0000 (-0500)
Subject: Remove unneeded around modifier - we're already overriding this in Native/Writer.pm
X-Git-Tag: 1.18~15
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14f358ac1dd05aadfd41371b28e3fd00c01810ed;p=gitmo%2FMoose.git

Remove unneeded around modifier - we're already overriding this in Native/Writer.pm
---

diff --git a/lib/Moose/Meta/Method/Accessor/Native/Collection.pm b/lib/Moose/Meta/Method/Accessor/Native/Collection.pm
index a7ccd8d..d1fcde2 100644
--- a/lib/Moose/Meta/Method/Accessor/Native/Collection.pm
+++ b/lib/Moose/Meta/Method/Accessor/Native/Collection.pm
@@ -113,15 +113,6 @@ sub _inline_check_member_constraint {
         ) . " for $new_value;";
 }
 
-around _inline_check_constraint => sub {
-    my $orig = shift;
-    my $self = shift;
-
-    return q{} unless $self->_constraint_must_be_checked;
-
-    return $self->$orig( $_[0] );
-};
-
 around _inline_get_old_value_for_trigger => sub {
     shift;
     my ( $self, $instance ) = @_;