bump version to 0.84
[gitmo/Class-MOP.git] / lib / Class / MOP / Class.pm
index a720d17..49431ab 100644 (file)
@@ -15,7 +15,7 @@ use Scalar::Util 'blessed', 'weaken';
 use Sub::Name 'subname';
 use Devel::GlobalDestruction 'in_global_destruction';
 
-our $VERSION   = '0.83';
+our $VERSION   = '0.84';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -831,7 +831,7 @@ sub add_attribute {
     # get our count of previously inserted attributes and
     # increment by one so this attribute knows its order
     my $order = (scalar keys %{$self->get_attribute_map}) - 1; 
-    $attribute->set_insertion_order($order + 1);
+    $attribute->_set_insertion_order($order + 1);
 
     # then onto installing the new accessors
     $self->get_attribute_map->{$attribute->name} = $attribute;