replace deprecated auto_ptr with unique_ptr

This commit is contained in:
wmayer
2016-09-22 13:01:20 +02:00
parent 1ce73dda96
commit f944ab3846
47 changed files with 129 additions and 129 deletions

View File

@@ -76,7 +76,7 @@ App::DocumentObjectExecReturn *SetOperations::execute(void)
const MeshObject& meshKernel1 = mesh1->Mesh.getValue();
const MeshObject& meshKernel2 = mesh2->Mesh.getValue();
std::auto_ptr<MeshObject> pcKernel(new MeshObject()); // Result Meshkernel
std::unique_ptr<MeshObject> pcKernel(new MeshObject()); // Result Meshkernel
MeshCore::SetOperations::OperationType type;
string ot(OperationType.getValue());