Skip to content

Commit 8768b5b

Browse files
author
Steve Hanson
committed
correct #defines in uri.h
1 parent 6c9da69 commit 8768b5b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/rapidjson/uri.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
#ifndef RAPIDJSON_URI_H_
1616
#define RAPIDJSON_URI_H_
1717

18-
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
19-
#include <utility> // std::move
20-
#endif
21-
2218
#if defined(__clang__)
2319
RAPIDJSON_DIAG_PUSH
2420
RAPIDJSON_DIAG_OFF(c++98-compat)
21+
#elif defined(_MSC_VER)
22+
RAPIDJSON_DIAG_OFF(4512) // assignment operator could not be generated
2523
#endif
2624

2725
RAPIDJSON_NAMESPACE_BEGIN

0 commit comments

Comments
 (0)