diff --git a/boost/boost/optional/optional.hpp b/boost/boost/optional/optional.hpp index afcb8079e2..64ddac84d9 100644 --- a/boost/boost/optional/optional.hpp +++ b/boost/boost/optional/optional.hpp @@ -1251,7 +1251,7 @@ get_pointer ( optional& opt ) // The following declaration prevents a bug where operator safe-bool is used upon streaming optional object if you forget the IO header. template std::basic_ostream& -operator<<(std::basic_ostream& out, optional_detail::optional_tag const& v) +operator<<(std::basic_ostream&, optional_detail::optional_tag const&) { BOOST_STATIC_ASSERT_MSG(sizeof(CharType) == 0, "If you want to output boost::optional, include header "); }