forked from boostorg/tuple
tuple: silence gcc warning
This commit is contained in:
@ -41,6 +41,11 @@
|
||||
|
||||
#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 tuples {
|
||||
|
||||
@ -975,6 +980,11 @@ inline void swap(tuple<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>& lhs,
|
||||
} // end of namespace boost
|
||||
|
||||
|
||||
#if BOOST_GCC >= 40700
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
||||
#endif // BOOST_TUPLE_BASIC_HPP
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user