]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[bos #32505] [CEA] Additional patches for Fedora 36. SPNS-29988-SMESH_V9_9_0.patch
authorjfa <jfa@opencascade.com>
Wed, 12 Oct 2022 07:06:32 +0000 (10:06 +0300)
committerjfa <jfa@opencascade.com>
Wed, 12 Oct 2022 07:06:32 +0000 (10:06 +0300)
src/SMESH/SMESH_MeshEditor.cxx

index be874359b73c68b2ab7891c3acb3c09104a2984c..efa01a4c2ff015bcb1ea03a28a4412a950a955bb 100644 (file)
@@ -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<bool>::swap(isSingleNode[0], isSingleNode[1]);
         if ( nbSame > 0 )
           sames[0] = 1 - sames[0];
         iNotSameNode = 1 - iNotSameNode;