diff options
Diffstat (limited to 'boost/intrusive/detail/has_member_function_callable_with.hpp')
-rw-r--r-- | boost/intrusive/detail/has_member_function_callable_with.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/intrusive/detail/has_member_function_callable_with.hpp b/boost/intrusive/detail/has_member_function_callable_with.hpp index c9a8e7e637..2e73305d17 100644 --- a/boost/intrusive/detail/has_member_function_callable_with.hpp +++ b/boost/intrusive/detail/has_member_function_callable_with.hpp @@ -164,13 +164,14 @@ BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_NS_BEG { struct BaseMixin { - void BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME(); + void BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME() + {} //Some compilers require the definition or linker errors happen }; struct Base : public boost_intrusive_hmfcw::remove_cv<Type>::type, public BaseMixin { //Declare the unneeded default constructor as some old compilers wrongly require it with is_convertible - Base(); + Base(){} }; template <typename T, T t> class Helper{}; |