blob: fb591705aaeed8a07de85b93350da302fc7c26b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/rtt/Service.hpp
+++ b/rtt/Service.hpp
@@ -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
@@ -82,7 +82,7 @@
: 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>
|