diff --git a/include/boost/iterator/function_output_iterator.hpp b/include/boost/iterator/function_output_iterator.hpp index a0b1573..ec72338 100644 --- a/include/boost/iterator/function_output_iterator.hpp +++ b/include/boost/iterator/function_output_iterator.hpp @@ -14,10 +14,6 @@ #include #include -#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES -#include -#endif - namespace boost { namespace iterators { @@ -46,7 +42,7 @@ namespace iterators { } #else template output_proxy& operator=(T&& value) { - m_f(std::forward(value)); + m_f(static_cast< T&& >(value)); return *this; } #endif