mirror of
https://github.com/boostorg/array.git
synced 2026-01-25 00:22:22 +01:00
Suppress MSVC unreachable code warnings
This commit is contained in:
@@ -37,9 +37,10 @@
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4510) // boost::array<T,N>' : default constructor could not be generated
|
||||
# pragma warning(disable:4512) // boost::array<T,N>' : assignment operator could not be generated
|
||||
# pragma warning(disable:4610) // class 'boost::array<T,N>' can never be instantiated - user defined constructor required
|
||||
# pragma warning(disable: 4510) // boost::array<T,N>' : default constructor could not be generated
|
||||
# pragma warning(disable: 4512) // boost::array<T,N>' : assignment operator could not be generated
|
||||
# pragma warning(disable: 4610) // class 'boost::array<T,N>' can never be instantiated - user defined constructor required
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
#endif
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
Reference in New Issue
Block a user