mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
remove asserts
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
parent
06c99b75de
commit
59de424f96
1 changed files with 0 additions and 3 deletions
|
@ -41,9 +41,6 @@ Id UnionFind::find(Id id)
|
||||||
|
|
||||||
void UnionFind::merge(Id a, Id b)
|
void UnionFind::merge(Id a, Id b)
|
||||||
{
|
{
|
||||||
LUAU_ASSERT(size_t(a) < parents.size());
|
|
||||||
LUAU_ASSERT(size_t(b) < parents.size());
|
|
||||||
|
|
||||||
Id aSet = find(a);
|
Id aSet = find(a);
|
||||||
Id bSet = find(b);
|
Id bSet = find(b);
|
||||||
if (aSet == bSet)
|
if (aSet == bSet)
|
||||||
|
|
Loading…
Add table
Reference in a new issue