1 | @@ -20,6 +20,7 @@
|
---|
2 | #include <boost/intrusive/detail/preprocessor.hpp>
|
---|
3 | #include <boost/static_assert.hpp>
|
---|
4 | #include <boost/move/move.hpp>
|
---|
5 | + #include <boost/type_traits/remove_cv.hpp>
|
---|
6 |
|
---|
7 | //Mark that we don't support 0 arg calls due to compiler ICE in GCC 3.4/4.0/4.1 and
|
---|
8 | //wrong SFINAE for GCC 4.2/4.3
|
---|
9 | @@ -85,7 +86,7 @@
|
---|
10 | void BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME();
|
---|
11 | };
|
---|
12 |
|
---|
13 | - struct Base : public Type, public BaseMixin { Base(); };
|
---|
14 | + struct Base : public ::boost::remove_cv<Type>::type, public BaseMixin { Base(); };
|
---|
15 | template <typename T, T t> class Helper{};
|
---|
16 |
|
---|
17 | template <typename U>
|
---|