]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
#BOS 37851: cast tuple types for compilation on FD38 bos/37851 V9_12_0b1 5/head
authorGuytri KASTANE <guytri.kastane@cea.fr>
Fri, 29 Sep 2023 13:02:48 +0000 (15:02 +0200)
committerGuytri KASTANE <guytri.kastane@cea.fr>
Fri, 29 Sep 2023 13:02:48 +0000 (15:02 +0200)
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx

index 1a4df231912d1c62d2f5789be4f57b2a05069a7f..d5eb93eb06261c5475c78cca83056a14bff4ee98 100644 (file)
@@ -259,7 +259,7 @@ bool NETGENPlugin_NETGEN_3D::getSurfaceElements(
       if ( elem->NbCornerNodes() != 3 ){
         return error( COMPERR_BAD_INPUT_MESH, "Not triangle element encounters");
       }
-      listElements[elem] = tuple(isRev, isInternalFace);
+      listElements[elem] = tuple<bool, bool>(isRev, isInternalFace);
     }
   }
 
index 66d395480839a712760e278401de3818741784aa..75ee83431c739331da20992b7128afa8ed318329 100644 (file)
@@ -395,7 +395,7 @@ bool NETGENPlugin_NETGEN_3D_SA::getSurfaceElements(
     // Get orientation
     // Netgen requires that all the triangle point outside
     isRev = elemOrientation[elem->GetID()];
-    listElements[elem] = tuple(isRev, false);
+    listElements[elem] = tuple<bool, bool>(isRev, false);
   }
 
   return false;