1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Correct warning on vc 14 (caused by #26007)

This commit is contained in:
apn 2017-01-26 20:05:11 +03:00
parent 89029d3342
commit 06bc0a59fa

View File

@ -147,7 +147,7 @@ void BinMDataXtd_TriangulationDriver::Paste(const Handle(TDF_Attribute)& theSour
// Write triangles
const Poly_Array1OfTriangle& Triangles = PT->Triangles();
for (int i = 1; i <= nbTriangles; i++)
for (i = 1; i <= nbTriangles; i++)
{
Triangles(i).Get(n1, n2, n3);
theTarget << n1;