diff --git a/include/boost/ref.hpp b/include/boost/ref.hpp index af9e840..8fc3e75 100644 --- a/include/boost/ref.hpp +++ b/include/boost/ref.hpp @@ -42,9 +42,8 @@ class reference_wrapper_without_result_type { public: template - struct result_of + struct result_of : boost::result_of { - typedef typename result_of::type type; }; operator T& () const { return *(this->t_); }