musikr: remove explicit lifecycles now in ffi
This commit is contained in:
parent
c4f51b749a
commit
608082a49f
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ impl<'file_ref> MP4Tag<'file_ref> {
|
||||||
Self { this }
|
Self { this }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn item_map<'slf>(&'slf self) -> ItemMap<'file_ref> {
|
pub fn item_map(&self) -> ItemMap<'file_ref> {
|
||||||
let map: &'file_ref CPPItemMap = self.this.pin().itemMap();
|
let map: &'file_ref CPPItemMap = self.this.pin().itemMap();
|
||||||
let map_this = unsafe { RefThis::new(map) };
|
let map_this = unsafe { RefThis::new(map) };
|
||||||
ItemMap::new(map_this)
|
ItemMap::new(map_this)
|
||||||
|
|
|
@ -15,7 +15,7 @@ impl<'file_ref> XiphComment<'file_ref> {
|
||||||
Self { this }
|
Self { this }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn field_list_map<'slf>(&'slf self) -> FieldListMap<'file_ref> {
|
pub fn field_list_map(&self) -> FieldListMap<'file_ref> {
|
||||||
let map: &'file_ref CPPFieldListMap = self.this.pin().fieldListMap();
|
let map: &'file_ref CPPFieldListMap = self.this.pin().fieldListMap();
|
||||||
let map_this = unsafe { RefThis::new(map) };
|
let map_this = unsafe { RefThis::new(map) };
|
||||||
FieldListMap::new(map_this)
|
FieldListMap::new(map_this)
|
||||||
|
|
Loading…
Reference in a new issue