mirror of
git://git.proxmox.com/git/perlmod.git
synced 2025-01-09 05:17:38 +03:00
perlmod: actually use provided magic var
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8c587b3bf3
commit
7922272173
@ -221,7 +221,7 @@ macro_rules! instantiate_magic {
|
||||
let value = $crate::Value::new_hash();
|
||||
let this = $crate::Value::new_ref(&value);
|
||||
this.bless_sv($class)?;
|
||||
value.add_magic(MAGIC.with_value($value));
|
||||
value.add_magic($magic.with_value($value));
|
||||
this
|
||||
}};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user