Merge pull request #1 from timblechmann/topic/silence_warning

tuple: silence gcc warning
This commit is contained in:
Joel de Guzman
2014-04-17 08:53:51 +08:00

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 {
@ -974,6 +979,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