1
0
forked from boostorg/core

Use #else instead of #elif BOOST_WORKAROUND

This commit is contained in:
Glen Fernandes
2018-07-08 12:04:09 -04:00
parent 630ab2aae4
commit 75ae238d0c

View File

@@ -32,7 +32,8 @@ inline T exchange(T& t, const typename detail::exchange_type<T>::type& u)
t = u; t = u;
return v; return v;
} }
#elif BOOST_WORKAROUND(BOOST_MSVC, < 1800) #else
#if BOOST_WORKAROUND(BOOST_MSVC, < 1800)
template<class T> template<class T>
inline T exchange(T& t, const typename detail::exchange_type<T>::type& u) 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; return v;
} }
#endif #endif
#endif
} /* boost */ } /* boost */