Skip to content
Snippets Groups Projects
Commit c47bd24f authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Make switch to std::shared_ptr easier

parent b9281ddb
No related branches found
No related tags found
No related merge requests found
Pipeline #15070 passed
...@@ -5,7 +5,18 @@ ...@@ -5,7 +5,18 @@
#ifndef DYNAMIC_GRAPH_FWD_HH #ifndef DYNAMIC_GRAPH_FWD_HH
#define DYNAMIC_GRAPH_FWD_HH #define DYNAMIC_GRAPH_FWD_HH
#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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment