mirror of
https://github.com/boostorg/array.git
synced 2025-06-30 06:21:08 +02:00
Suppress MSVC unreachable code warnings
This commit is contained in:
@ -6,6 +6,10 @@
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
#endif
|
||||
|
||||
template<class T, std::size_t N> void test()
|
||||
{
|
||||
boost::array<T, N> a1 = {};
|
||||
|
Reference in New Issue
Block a user