Disable C4702: unreachable code warnings for json_pointer.hpp

This commit is contained in:
Tristan Penman 2021-07-28 17:09:45 +10:00
parent 855365bce0
commit c63ac26f03

View File

@ -11,6 +11,11 @@
#include <valijson/internal/optional.hpp>
#include <valijson/exceptions.hpp>
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4702 )
#endif
namespace valijson {
namespace internal {
namespace json_pointer {
@ -264,3 +269,7 @@ inline AdapterType resolveJsonPointer(
} // namespace json_pointer
} // namespace internal
} // namespace valijson
#ifdef _MSC_VER
#pragma warning( pop )
#endif