Commit c47bd24f authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Make switch to std::shared_ptr easier

parent b9281ddb
Pipeline #15070 passed with stage
in 3 minutes and 56 seconds
...@@ -5,7 +5,18 @@ ...@@ -5,7 +5,18 @@
#include <boost/smart_ptr.hpp>
namespace dynamicgraph { namespace dynamicgraph {
// to be replace by std:: when we switch to C++11 and later
using boost::shared_ptr;
using boost::weak_ptr;
using boost::static_pointer_cast;
using boost::dynamic_pointer_cast;
using boost::const_pointer_cast;
using boost::make_shared;
class DebugTrace; class DebugTrace;
class PluginRefMap; class PluginRefMap;
...@@ -17,6 +28,7 @@ class ExceptionSignal; ...@@ -17,6 +28,7 @@ class ExceptionSignal;
class ExceptionTraces; class ExceptionTraces;
class FactoryStorage; class FactoryStorage;
class Interpreter; class Interpreter;
typedef shared_ptr<Interpreter> InterpreterShPtr_t;
class InterpreterHelper; class InterpreterHelper;
class Logger; class Logger;
class OutStringStream; class OutStringStream;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment