From e05da58ed573202aaf0b5520d5f967298e357892 Mon Sep 17 00:00:00 2001 From: Gerhard Kitzler Date: Tue, 9 Sep 2014 16:15:54 +0000 Subject: [PATCH] changed Autoptr to shared_ptr --- libsrc/visualization/meshdoc.cpp | 2 +- libsrc/visualization/vsfieldlines.cpp | 2 +- libsrc/visualization/vsmesh.cpp | 2 +- libsrc/visualization/vssolution.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/visualization/meshdoc.cpp b/libsrc/visualization/meshdoc.cpp index 8638c490..ce738068 100644 --- a/libsrc/visualization/meshdoc.cpp +++ b/libsrc/visualization/meshdoc.cpp @@ -18,7 +18,7 @@ namespace netgen MeshDoctorParameters meshdoctor; VisualSceneMeshDoctor vsmeshdoc; -extern AutoPtr mesh; +extern shared_ptr mesh; int Ng_MeshDoctor (ClientData clientData, Tcl_Interp * interp, diff --git a/libsrc/visualization/vsfieldlines.cpp b/libsrc/visualization/vsfieldlines.cpp index 910b5c28..c990a540 100644 --- a/libsrc/visualization/vsfieldlines.cpp +++ b/libsrc/visualization/vsfieldlines.cpp @@ -15,7 +15,7 @@ namespace netgen { - extern AutoPtr mesh; + extern shared_ptr mesh; diff --git a/libsrc/visualization/vsmesh.cpp b/libsrc/visualization/vsmesh.cpp index 1c18c905..0216e513 100644 --- a/libsrc/visualization/vsmesh.cpp +++ b/libsrc/visualization/vsmesh.cpp @@ -15,7 +15,7 @@ namespace netgen { - extern AutoPtr mesh; + extern shared_ptr mesh; extern NetgenGeometry * ng_geometry; VisualSceneMesh vsmesh; diff --git a/libsrc/visualization/vssolution.cpp b/libsrc/visualization/vssolution.cpp index 0bc3a50b..751c2fd7 100644 --- a/libsrc/visualization/vssolution.cpp +++ b/libsrc/visualization/vssolution.cpp @@ -16,7 +16,7 @@ namespace netgen { - extern AutoPtr mesh; + extern shared_ptr mesh; extern VisualSceneMesh vsmesh;