Skip to content

Commit c4cfad7

Browse files
committed
Disable unreachable code warning for MSVC
1 parent 27e5a5d commit c4cfad7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/boost/container/detail/config_begin.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#pragma warning (disable : 4671) // the copy constructor is inaccessible
4242
#pragma warning (disable : 4673) // throwing '' the following types will not be considered at the catch site
4343
#pragma warning (disable : 4675) // "method" should be declared "static" and have exactly one parameter
44+
#pragma warning (disable : 4702) // unreachable code
4445
#pragma warning (disable : 4706) // assignment within conditional expression
4546
#pragma warning (disable : 4710) // function not inlined
4647
#pragma warning (disable : 4714) // "function": marked as __forceinline not inlined

0 commit comments

Comments
 (0)