From b6a5716b6a843caea196f552ff5ace17d4590fa3 Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Sat, 6 Mar 2021 01:05:47 +0100 Subject: [PATCH] [Sandbox] Use std::shared_ptr instead of boost::shared_ptr There's no need to use boost version when stl has support for shared_ptr --- src/Mod/Sandbox/Gui/Command.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Sandbox/Gui/Command.cpp b/src/Mod/Sandbox/Gui/Command.cpp index 4d87161358..54e75cc0ad 100644 --- a/src/Mod/Sandbox/Gui/Command.cpp +++ b/src/Mod/Sandbox/Gui/Command.cpp @@ -56,7 +56,7 @@ # include # include # include -# include +# include #endif #include @@ -885,12 +885,12 @@ CmdSandboxMeshTestRef::CmdSandboxMeshTestRef() void CmdSandboxMeshTestRef::activated(int) { Gui::WaitCursor wc; - std::vector< boost::shared_ptr > threads; + std::vector< std::shared_ptr > threads; Base::Reference mesh(new Mesh::MeshObject); int num = mesh.getRefCount(); for (int i=0; i<10; i++) { - boost::shared_ptr trd(new MeshThread(mesh)); + std::shared_ptr trd(new MeshThread(mesh)); trd->start(); threads.push_back(trd); }