Skip to content

Commit

Permalink
Fix building with boost 1.53: this header has been deprecated since b…
Browse files Browse the repository at this point in the history
…oost 1.53

Signed-off-by: Ruben Smits <[email protected]>
  • Loading branch information
Ruben Smits authored and doudou committed Aug 29, 2013
1 parent 9eac48a commit 8c4077c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtt/Service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include <boost/type_traits/function_traits.hpp>
#include <boost/function_types/components.hpp>
#include <boost/enable_shared_from_this.hpp>
#if BOOST_VERSION >= 104000
#if BOOST_VERSION >= 104000 && BOOST_VERSION <= 105030
#include <boost/smart_ptr/enable_shared_from_this2.hpp>
#endif

Expand All @@ -82,7 +82,7 @@ namespace RTT
: public OperationInterface,
public ConfigurationInterface,
public DataFlowInterface,
#if BOOST_VERSION >= 104000
#if BOOST_VERSION >= 104000 && BOOST_VERSION <= 105030
public boost::enable_shared_from_this2<Service>
#else
public boost::enable_shared_from_this<Service>
Expand Down

0 comments on commit 8c4077c

Please sign in to comment.