warnings fixed
This commit is contained in:
parent
d68ac2f4ce
commit
bf10e1ac2e
1 changed files with 4 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ bool ckFaceHasAnyOtherRels(const std::vector<struct result> &results,
|
||||||
auto oth = (r.x == f) ? r.y : r.x;
|
auto oth = (r.x == f) ? r.y : r.x;
|
||||||
all_filecodes.insert(oth.i);
|
all_filecodes.insert(oth.i);
|
||||||
if (r.res == Relation::Equals
|
if (r.res == Relation::Equals
|
||||||
|| r.res == Relation::Included && r.x == f
|
|| (r.res == Relation::Included && r.x == f)
|
||||||
|| r.res == Relation::Includes && r.y == f) {
|
|| (r.res == Relation::Includes && r.y == f)) {
|
||||||
where_exists.insert(oth.i);
|
where_exists.insert(oth.i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
@ -102,6 +102,8 @@ std::string statements(struct result r, std::vector<struct Model> faces) {
|
||||||
return st("A", B, A);
|
return st("A", B, A);
|
||||||
case Relation::Intersects:
|
case Relation::Intersects:
|
||||||
return st("I", A, B);
|
return st("I", A, B);
|
||||||
|
case Relation::Irrelates:
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue