From: jfa Date: Wed, 12 Oct 2022 07:06:32 +0000 (+0300) Subject: [bos #32505] [CEA] Additional patches for Fedora 36. SPNS-29988-SMESH_V9_9_0.patch X-Git-Tag: V9_10_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b69b0f98a53cc4ba9bd3d8002aba861d71b4185;p=modules%2Fsmesh.git [bos #32505] [CEA] Additional patches for Fedora 36. SPNS-29988-SMESH_V9_9_0.patch --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index be874359b..efa01a4c2 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -4636,7 +4636,7 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem, std::swap( itNN[0], itNN[1] ); std::swap( prevNod[0], prevNod[1] ); std::swap( nextNod[0], nextNod[1] ); - std::swap( isSingleNode[0], isSingleNode[1] ); + std::vector::swap(isSingleNode[0], isSingleNode[1]); if ( nbSame > 0 ) sames[0] = 1 - sames[0]; iNotSameNode = 1 - iNotSameNode;