From ec430212ab37826c9e7eda29ef2aecfa43d31579 Mon Sep 17 00:00:00 2001 From: vuzlov Date: Fri, 4 Sep 2020 14:43:44 +0300 Subject: [PATCH] fix removed functions c++17 --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2