mirror of
https://github.com/boostorg/optional.git
synced 2025-07-17 14:22:07 +02:00
Fix the GCC workaround!
[SVN r19647]
This commit is contained in:
@ -271,9 +271,9 @@ bool operator != ( optional<T> const& x, optional<T> const& y )
|
|||||||
//
|
//
|
||||||
namespace optional_detail {
|
namespace optional_detail {
|
||||||
|
|
||||||
// GCC <= 3.2 gets the using declaration at namespace scope (FLC)
|
// GCC < 3.2 gets the using declaration at namespace scope (FLC, DWA)
|
||||||
#if BOOST_WORKAROUND(__GNUC__, <= 3) && __GNUC_MINOR__ <= 2
|
#if BOOST_WORKAROUND(__GNUC__, < 3) \
|
||||||
// workaround for GCC (JM):
|
|| BOOST_WORKAROUND(__GNUC__, == 3) && __GNUC_MINOR__ <= 2
|
||||||
using std::swap;
|
using std::swap;
|
||||||
#define BOOST_OPTIONAL_STD_SWAP_INTRODUCED_AT_NS_SCOPE
|
#define BOOST_OPTIONAL_STD_SWAP_INTRODUCED_AT_NS_SCOPE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user