diff options
author | Milo Yip <miloyip@gmail.com> | 2016-04-05 19:47:16 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2016-04-05 19:47:16 +0300 |
commit | 44d114f3ee7067380a234903997fb736a2787682 (patch) | |
tree | 332604748335bdadcfa3e0d9d1810c5960803f36 /include/rapidjson/pointer.h | |
parent | be5a886f8fedf6f963d277bba32e57ae6d232d76 (diff) |
Supress VC C4512 warning
Diffstat (limited to 'include/rapidjson/pointer.h')
-rw-r--r-- | include/rapidjson/pointer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rapidjson/pointer.h b/include/rapidjson/pointer.h index 94449381..c9852779 100644 --- a/include/rapidjson/pointer.h +++ b/include/rapidjson/pointer.h @@ -23,6 +23,11 @@ RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_OFF(switch-enum) #endif +#ifdef _MSC_VER +RAPIDJSON_DIAG_PUSH +RAPIDJSON_DIAG_OFF(4512) // assignment operator could not be generated +#endif + RAPIDJSON_NAMESPACE_BEGIN static const SizeType kPointerInvalidIndex = ~SizeType(0); //!< Represents an invalid index in GenericPointer::Token @@ -1342,4 +1347,8 @@ RAPIDJSON_NAMESPACE_END RAPIDJSON_DIAG_POP #endif +#ifdef _MSC_VER +RAPIDJSON_DIAG_POP +#endif + #endif // RAPIDJSON_POINTER_H_ |