Skip to content

Commit e6d7247

Browse files
authored
Merge pull request Tencent#924 from lichray/fix-gcc7-warning
Fix a non-type template parameter type mismatch
2 parents c6aec19 + ec90588 commit e6d7247

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
@@ -426,7 +426,7 @@ RAPIDJSON_NAMESPACE_END
426426
RAPIDJSON_NAMESPACE_BEGIN
427427
template <bool x> struct STATIC_ASSERTION_FAILURE;
428428
template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; };
429-
template<int x> struct StaticAssertTest {};
429+
template <size_t x> struct StaticAssertTest {};
430430
RAPIDJSON_NAMESPACE_END
431431

432432
#if defined(__GNUC__)

0 commit comments

Comments
 (0)