XS constructor
[gitmo/Mouse.git] / lib / Mouse / Object.pm
index 5f09e0a..0f01499 100644 (file)
@@ -24,20 +24,6 @@ sub new {
     return $self;
 }
 
-sub BUILDARGS {
-    my $class = shift;
-
-    if (scalar @_ == 1) {
-        (ref($_[0]) eq 'HASH')
-            || $class->meta->throw_error("Single parameters to new() must be a HASH ref");
-
-        return {%{$_[0]}};
-    }
-    else {
-        return {@_};
-    }
-}
-
 sub DESTROY {
     my $self = shift;