Fixed a bug where VersionTag->get would return unsafe copies. Also added tests for this.
This commit is contained in:
parent
40fcbb5fa9
commit
0f70c99873
3 changed files with 22 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ sub get {
|
|||
return $self->{_data}{$name};
|
||||
}
|
||||
else {
|
||||
return \%{ $self->{_data} },
|
||||
return { %{ $self->{_data} } },
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue