correct #defines in uri.h
This commit is contained in:
parent
6c9da69abf
commit
8768b5b1d6
@ -15,13 +15,11 @@
|
|||||||
#ifndef RAPIDJSON_URI_H_
|
#ifndef RAPIDJSON_URI_H_
|
||||||
#define RAPIDJSON_URI_H_
|
#define RAPIDJSON_URI_H_
|
||||||
|
|
||||||
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
|
|
||||||
#include <utility> // std::move
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
RAPIDJSON_DIAG_PUSH
|
RAPIDJSON_DIAG_PUSH
|
||||||
RAPIDJSON_DIAG_OFF(c++98-compat)
|
RAPIDJSON_DIAG_OFF(c++98-compat)
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
RAPIDJSON_DIAG_OFF(4512) // assignment operator could not be generated
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RAPIDJSON_NAMESPACE_BEGIN
|
RAPIDJSON_NAMESPACE_BEGIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user