Merge pull request #13727 from wwmayer/fix_warnings
Fix compiler warnings
This commit is contained in:
@@ -1803,6 +1803,7 @@ TEST_F(TopoShapeExpansionTest, makeElementThickSolid)
|
||||
std::vector<TopoShape> shapes = {subFaces[0], subFaces[1]};
|
||||
// Act
|
||||
TopoShape& result = cube1TS.makeElementThickSolid(cube1TS, shapes, 0.1, 1e-07);
|
||||
(void)result;
|
||||
auto elements = elementMap(cube1TS);
|
||||
// Assert
|
||||
EXPECT_EQ(cube1TS.countSubElements("Wire"), 16);
|
||||
|
||||
@@ -312,11 +312,11 @@ TEST_F(TopoShapeMakeShapeWithElementMapTests, findMakerOpInElementMap)
|
||||
EXPECT_EQ(tmpShape.getElementMapSize(), 26);
|
||||
|
||||
// For all the mappedElements ...
|
||||
for (const auto& mappedElement : tmpShape.getElementMap()) {
|
||||
// TODO: This no longer works, it needs a different check. We don't set MAK
|
||||
// EXPECT_NE(mappedElement.name.find(OpCodes::Maker),
|
||||
// -1); // ... we check that there's the "MAK" OpCode
|
||||
}
|
||||
// for (const auto& mappedElement : tmpShape.getElementMap()) {
|
||||
// TODO: This no longer works, it needs a different check. We don't set MAK
|
||||
// EXPECT_NE(mappedElement.name.find(OpCodes::Maker),
|
||||
// -1); // ... we check that there's the "MAK" OpCode
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user