mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
x = y::pointer() -> x.reset()
This commit is contained in:
@@ -73,7 +73,7 @@ bool SHAMap::walkBranch(SHAMapTreeNode* node, SHAMapItem::ref otherMapItem, bool
|
||||
else differences.insert(std::make_pair(otherMapItem->getTag(),
|
||||
std::make_pair(otherMapItem, item)));
|
||||
if(--maxCount <= 0) return false;
|
||||
item = SHAMapItem::pointer();
|
||||
item.reset();
|
||||
}
|
||||
}
|
||||
else assert(false);
|
||||
|
||||
Reference in New Issue
Block a user