1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00

Fixed compilation warnings on vc14 caused by CR27431_5

This commit is contained in:
apn 2016-11-03 14:20:04 +03:00 committed by abv
parent 953d87f32c
commit 10c5aa00b0

View File

@ -487,11 +487,11 @@ void IntPatch_ALineToWLine::MakeWLine(const Handle(IntPatch_ALine)& theALine,
if(aP1.SquareDistance(aP2) < aSqTol) if(aP1.SquareDistance(aP2) < aSqTol)
{ {
IntPatch_Point aVtx = theALine->Vertex(i); IntPatch_Point aLVtx = theALine->Vertex(i);
aVtx.SetValue(aVertP2S); aLVtx.SetValue(aVertP2S);
aVtx.SetTolerance(aVertToler); aLVtx.SetTolerance(aVertToler);
aVtx.SetParameter(aNewVertexParam); aLVtx.SetParameter(aNewVertexParam);
aSeqVertex(++aNewVertID) = aVtx; aSeqVertex(++aNewVertID) = aLVtx;
hasVertexBeenChecked(i) = Standard_True; hasVertexBeenChecked(i) = Standard_True;
isFound = Standard_True; isFound = Standard_True;
} }