autocommit 2022-03-29 15:40:59 CEST
This commit is contained in:
parent
6ebf731aea
commit
9842264fad
39 changed files with 121 additions and 92 deletions
|
|
@ -224,7 +224,7 @@ impl<T> NodeRef<T> {
|
|||
{
|
||||
unsafe {
|
||||
let data = self.data.as_ref();
|
||||
let other = peer(&data).get();
|
||||
let other = peer(data).get();
|
||||
if other.as_ref().data.is_some() {
|
||||
other.as_ref().rc.fetch_add(1);
|
||||
Some(NodeRef { data: other })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue