summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-14 22:16:46 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-14 22:16:46 +0100
commit8838298d3871465f46dea4d705f111c73d79ba4b (patch)
tree5d10fe7a2c1839dd53e79d36a4583c5bd0389284
parentadd dist.ini (diff)
downloadmoosex-privacy-8838298d3871465f46dea4d705f111c73d79ba4b.tar.gz
use new metarole API
-rw-r--r--lib/MooseX/Privacy.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MooseX/Privacy.pm b/lib/MooseX/Privacy.pm
index 65270c8..479dd01 100644
--- a/lib/MooseX/Privacy.pm
+++ b/lib/MooseX/Privacy.pm
@@ -26,8 +26,8 @@ sub init_meta {
     Moose->init_meta(%options);
 
     Moose::Util::MetaRole::apply_metaroles(
-        for_class       => $for,
-        metaclass_roles => [ 'MooseX::Privacy::Meta::Class', ],
+        for             => $for,
+        class_metaroles => { class => [ 'MooseX::Privacy::Meta::Class', ] },
     );
 }