]> git.lyx.org Git - features.git/commitdiff
Shut up compiler warning
authorGeorg Baum <baum@lyx.org>
Sat, 16 May 2015 12:05:29 +0000 (14:05 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 16 May 2015 12:06:34 +0000 (14:06 +0200)
boost/boost/optional/optional.hpp

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