forked from boostorg/core
Use #else instead of #elif BOOST_WORKAROUND
This commit is contained in:
@ -32,7 +32,8 @@ inline T exchange(T& t, const typename detail::exchange_type<T>::type& u)
|
||||
t = u;
|
||||
return v;
|
||||
}
|
||||
#elif BOOST_WORKAROUND(BOOST_MSVC, < 1800)
|
||||
#else
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1800)
|
||||
template<class T>
|
||||
inline T exchange(T& t, const typename detail::exchange_type<T>::type& u)
|
||||
{
|
||||
@ -57,6 +58,7 @@ BOOST_CXX14_CONSTEXPR inline T exchange(T& t, U&& u)
|
||||
return v;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
} /* boost */
|
||||
|
||||
|
Reference in New Issue
Block a user