mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
[g++-warning-fix] Fixed comparison between signed and unsigned integer expressions
This commit is contained in:
@@ -2904,7 +2904,7 @@ namespace {
|
|||||||
auto result_shape = split.Shape();
|
auto result_shape = split.Shape();
|
||||||
std::list<TopoDS_Shape> subs;
|
std::list<TopoDS_Shape> subs;
|
||||||
subshapes(result_shape, subs);
|
subshapes(result_shape, subs);
|
||||||
if (subs.size() == 1 && operands.Size() - 2 > subs.size() && (subs.front().ShapeType() == TopAbs_COMPSOLID || subs.front().ShapeType() == TopAbs_COMPOUND)) {
|
if (subs.size() == 1 && operands.Size() - 2 > (int)subs.size() && (subs.front().ShapeType() == TopAbs_COMPSOLID || subs.front().ShapeType() == TopAbs_COMPOUND)) {
|
||||||
auto s = subs.front();
|
auto s = subs.front();
|
||||||
subs.clear();
|
subs.clear();
|
||||||
subshapes(s, subs);
|
subshapes(s, subs);
|
||||||
|
|||||||
Reference in New Issue
Block a user