projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e473d0c
)
Use class_of in CMOP::Object::_new
Shawn M Moore [Sat, 28 Mar 2009 20:04:24 +0000 (16:04 -0400)]
lib/Class/MOP/Object.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Object.pm
b/lib/Class/MOP/Object.pm
index
f39203a
..
f80485f
100644
(file)
--- a/
lib/Class/MOP/Object.pm
+++ b/
lib/Class/MOP/Object.pm
@@
-18,7
+18,7
@@
sub meta {
}
sub _new {
- shift->meta->new_object(@_);
+ Class::MOP::class_of(shift)->new_object(@_);
}
# RANT: