projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Pass metaclass to init_meta
[gitmo/Moose.git]
/
lib
/
Moose
/
Exporter.pm
diff --git
a/lib/Moose/Exporter.pm
b/lib/Moose/Exporter.pm
index
d62f1cf
..
122574b
100644
(file)
--- a/
lib/Moose/Exporter.pm
+++ b/
lib/Moose/Exporter.pm
@@
-259,7
+259,7
@@
sub _make_import_sub {
# Moose::Exporter, which in turn sets $CALLER, so we need
# to protect against that.
local $CALLER = $CALLER;
- $c->init_meta( for_class => $CALLER );
+ $c->init_meta( for_class => $CALLER, metaclass => $metaclass );
$did_init_meta = 1;
}