forked from boostorg/array
Suppress MSVC unreachable code warnings
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#include <boost/config/workaround.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
#endif
|
||||
|
||||
template<class T, std::size_t N> void test1()
|
||||
{
|
||||
boost::array<T, N> a = {{}};
|
||||
|
||||
Reference in New Issue
Block a user