Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
9b8115f2
Commit
9b8115f2
authored
Sep 03, 2020
by
Kirill Terekhov
Browse files
Fix set tree deletion
parent
228e0d5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Mesh/eset.cpp
View file @
9b8115f2
...
...
@@ -1746,11 +1746,13 @@ namespace INMOST
Element
::
adj_type
&
lc
=
m
->
LowConn
(
GetHandle
());
Element
::
adj_type
&
hc
=
m
->
HighConn
(
GetHandle
());
HandleType
hchild
=
hChild
(
hc
),
nchild
;
hChild
(
hc
)
=
InvalidHandle
();
while
(
hchild
!=
InvalidHandle
())
{
Element
::
adj_type
&
chc
=
m
->
HighConn
(
hchild
);
hParent
(
chc
)
=
InvalidHandle
();
nchild
=
hSibling
(
chc
);
hSibling
(
chc
)
=
InvalidHandle
();
ElementSet
(
m
,
hchild
).
DeleteSetTree
();
hchild
=
nchild
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment