Skip to content

Commit 73b8774

Browse files
authored
Use rvalue refs with clang-cl
1 parent 5fd779d commit 73b8774

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)