Skip to content

Commit ed72564

Browse files
authored
Merge pull request Tencent#1231 from steveire/patch-1
Use rvalue refs with clang-cl
2 parents 5fd779d + 73b8774 commit ed72564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rapidjson/rapidjson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ RAPIDJSON_NAMESPACE_END
543543
#ifndef RAPIDJSON_HAS_CXX11_RVALUE_REFS
544544
#if defined(__clang__)
545545
#if __has_feature(cxx_rvalue_references) && \
546-
(defined(_LIBCPP_VERSION) || defined(__GLIBCXX__) && __GLIBCXX__ >= 20080306)
546+
(defined(_MSC_VER) || defined(_LIBCPP_VERSION) || defined(__GLIBCXX__) && __GLIBCXX__ >= 20080306)
547547
#define RAPIDJSON_HAS_CXX11_RVALUE_REFS 1
548548
#else
549549
#define RAPIDJSON_HAS_CXX11_RVALUE_REFS 0

0 commit comments

Comments
 (0)