forked from boostorg/tuple
Merge pull request #1 from timblechmann/topic/silence_warning
tuple: silence gcc warning
This commit is contained in:
@ -41,6 +41,11 @@
|
|||||||
|
|
||||||
#include "boost/detail/workaround.hpp" // needed for BOOST_WORKAROUND
|
#include "boost/detail/workaround.hpp" // needed for BOOST_WORKAROUND
|
||||||
|
|
||||||
|
#if BOOST_GCC >= 40700
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace tuples {
|
namespace tuples {
|
||||||
|
|
||||||
@ -974,6 +979,11 @@ inline void swap(tuple<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>& lhs,
|
|||||||
} // end of namespace boost
|
} // end of namespace boost
|
||||||
|
|
||||||
|
|
||||||
|
#if BOOST_GCC >= 40700
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // BOOST_TUPLE_BASIC_HPP
|
#endif // BOOST_TUPLE_BASIC_HPP
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user