tuple: silence gcc warning

This commit is contained in:
Tim Blechmann
2013-12-07 12:22:15 +01:00
parent ffb3bc75fa
commit f4a6eafdb3

View File

@ -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