]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
fix removed functions c++17
authorvuzlov <vuzlov@opencascade.com>
Fri, 4 Sep 2020 11:43:44 +0000 (14:43 +0300)
committervuzlov <vuzlov@opencascade.com>
Fri, 4 Sep 2020 11:43:44 +0000 (14:43 +0300)
src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index b4f61e92d293ed410b568e94c15014ad3dfe11f4..f3397736a57b54f3e471225c5a16d9c90e670c02 100644 (file)
@@ -691,7 +691,7 @@ static bool readGMFFile(MG_Tetra_API*                   MGOutput,
   std::vector< const SMDS_MeshElement* > foundVolumes;
   if ( !hasGeom && theHelper->GetMesh()->NbVolumes() > 0 )
     elemSearcher = SMESH_MeshAlgos::GetElementSearcher( *theMeshDS );
-  auto_ptr< SMESH_ElementSearcher > elemSearcherDeleter( elemSearcher );
+  unique_ptr< SMESH_ElementSearcher > elemSearcherDeleter( elemSearcher ); //auto_ptr
 
   // IMP 0022172: [CEA 790] create the groups corresponding to domains
   std::vector< std::vector< const SMDS_MeshElement* > > elemsOfDomain;