mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 18:20:27 +01:00
Disable C4702: unreachable code warnings for json_pointer.hpp
This commit is contained in:
parent
855365bce0
commit
c63ac26f03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user