Suppress a 'unused parameter' warning in optional_reference_spec.hpp

This commit is contained in:
Benjamin Buch
2016-05-31 01:00:20 +02:00
parent 5d5d1f46ba
commit 088e2e3051

View File

@ -122,7 +122,7 @@ public:
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
optional(T&& rhs) BOOST_NOEXCEPT { detail::prevent_binding_rvalue<T&&>(); }
optional(T&& /* rhs */) BOOST_NOEXCEPT { detail::prevent_binding_rvalue<T&&>(); }
template <class R>
optional(R&& r, BOOST_DEDUCED_TYPENAME boost::enable_if<detail::is_no_optional<R> >::type* = 0) BOOST_NOEXCEPT