mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Fixed infinite loop
This commit is contained in:
parent
18a0b5d6cc
commit
5d0487c2ed
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ public:
|
||||||
|
|
||||||
if (candidate_zIds.size() < ref_void.zId.size())
|
if (candidate_zIds.size() < ref_void.zId.size())
|
||||||
{
|
{
|
||||||
|
if (iter_candidate == candidateList.begin())
|
||||||
|
return -1;
|
||||||
|
|
||||||
--iter_candidate;
|
--iter_candidate;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue