mirror of
https://github.com/boostorg/optional.git
synced 2025-07-30 12:37:19 +02:00
Merge pull request #70 from Kojoley/patch-1
Fix unused argument warning
This commit is contained in:
@ -967,7 +967,7 @@ class optional
|
|||||||
// Can throw if T::T(T&&) does
|
// Can throw if T::T(T&&) does
|
||||||
|
|
||||||
#ifndef BOOST_OPTIONAL_DETAIL_NO_DEFAULTED_MOVE_FUNCTIONS
|
#ifndef BOOST_OPTIONAL_DETAIL_NO_DEFAULTED_MOVE_FUNCTIONS
|
||||||
optional ( optional && rhs ) = default;
|
optional ( optional && ) = default;
|
||||||
#else
|
#else
|
||||||
optional ( optional && rhs )
|
optional ( optional && rhs )
|
||||||
BOOST_NOEXCEPT_IF(::boost::is_nothrow_move_constructible<T>::value)
|
BOOST_NOEXCEPT_IF(::boost::is_nothrow_move_constructible<T>::value)
|
||||||
|
Reference in New Issue
Block a user