Add explicit return values for (almost) all native delegation mutating methods
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Hash / clear.pm
index c0fbd1f..b8dcc1d 100644 (file)
@@ -14,6 +14,7 @@ with 'Moose::Meta::Method::Accessor::Native::Hash::Writer' => {
         qw(
             _maximum_arguments
             _inline_optimized_set_new_value
+            _return_value
             )
     ]
 };
@@ -30,6 +31,8 @@ sub _inline_optimized_set_new_value {
     return "$slot_access = {}";
 }
 
+sub _return_value { return q{} }
+
 no Moose::Role;
 
 1;