X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=xs-src%2FMouse.xs;h=5cbfb80864d835a4e9d8f1e7f2b35b35e56f2bc8;hp=8e7700fbf6ab0111cef5669a8c8b8272edf61e76;hb=f50e50d653ac9fbdc9aeeff13bbf5456e603a339;hpb=adb5eb76f6875283f11d6f2b8d281568f0a4a688 diff --git a/xs-src/Mouse.xs b/xs-src/Mouse.xs index 8e7700f..5cbfb80 100644 --- a/xs-src/Mouse.xs +++ b/xs-src/Mouse.xs @@ -656,7 +656,8 @@ void BUILDALL(SV* self, SV* args) CODE: { - AV* const xc = mouse_get_xc(aTHX_ self); + SV* const meta = get_metaclass(self); + AV* const xc = mouse_get_xc(aTHX_ meta); if(!IsHashRef(args)){ croak("You must pass a HASH reference to BUILDALL");