Commit 6093bad8 authored by Max Lyon's avatar Max Lyon

Merge branch 'mheistermann/OpenVolumeMesh-fix-warning-rangefor-test'

parents f454de50 bee69486
Pipeline #3365 passed with stage
in 3 minutes and 32 seconds
......@@ -26,8 +26,9 @@ TEST_F(HexahedralMeshBase, HexVertexIterTest) {
TEST_F(HexahedralMeshBase, RangeForTest) {
// no EXPECTs here, if it compiles, it'll work.
generateHexahedralMesh(mesh_);
for (const auto& vh: mesh_.vertices()) {}
VertexHandle _dummy; // use vh to avoid compiler warnings
for (const auto& vh: mesh_.vertices()) { _dummy = vh;}
const auto& constref = mesh_;
for (const auto& vh: constref.vertices()) {}
for (const auto& vh: constref.vertices()) { _dummy = vh;}
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment