Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37595529
en ru br
ALT Linux repos
S:9.8.0.2-alt2

Group :: System/Libraries
RPM: smesh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: smesh-gcc12.patch
Download


https://github.com/trelau/SMESH/issues/57
diff --git a/submodules/external/SMESH/src/SMESH/SMESH_MeshEditor.cxx b/submodules/external/SMESH/src/SMESH/SMESH_MeshEditor.cxx
index f97e645d..15646dbf 100644
--- a/submodules/external/SMESH/src/SMESH/SMESH_MeshEditor.cxx
+++ b/submodules/external/SMESH/src/SMESH/SMESH_MeshEditor.cxx
@@ -4307,7 +4307,8 @@ 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] );
+        using std::swap;
+        swap( isSingleNode[0], isSingleNode[1] );
         if ( nbSame > 0 )
           sames[0] = 1 - sames[0];
         iNotSameNode = 1 - iNotSameNode;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin