Skip to content

Commit

Permalink
Stop using deprecated method map
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Jan 23, 2011
1 parent 2a16a4d commit 933f07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Revision history for {{$dist->name}}
<<<<<<< HEAD
Fixed MOP deprecation warning with CMOP 0.95
( Thanks Gerhard Gossen )
Stop using deprecated get_method_map.
Update toolchain.
Ship dist.ini
CompileTests
Expand Down
2 changes: 1 addition & 1 deletion lib/MooseX/AttributeIndexes/Provider/FromAttributes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub attribute_indexes {
my $k = {};

for my $attr_name ( $meta->get_attribute_list ){
my $attr = $meta->get_attribute($attr_name);
my $attr = $meta->get_attribute( $attr_name );

if( $attr->does( 'MooseX::AttributeIndexes::Meta::Attribute::Trait::Indexed' ) ) {
my $indexed = $attr->primary_index;
Expand Down

0 comments on commit 933f07f

Please sign in to comment.