From: vuzlov Date: Fri, 4 Sep 2020 11:43:44 +0000 (+0300) Subject: fix removed functions c++17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ec430212ab37826c9e7eda29ef2aecfa43d31579;p=plugins%2Fghs3dplugin.git fix removed functions c++17 --- diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index b4f61e9..f339773 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -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;