mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
HPL1: fix Std::Tree erase
This commit is contained in:
parent
49d037aa11
commit
0b267b61df
@ -220,7 +220,7 @@ public:
|
||||
if (v)
|
||||
v->parent = u->parent;
|
||||
if (u == _leftmost)
|
||||
_leftmost = v ? v : u->parent;
|
||||
_leftmost = v ? leftmost(v) : u->parent;
|
||||
--_size;
|
||||
auto const ret = ++it;
|
||||
delete u;
|
||||
|
Loading…
Reference in New Issue
Block a user