Commit e6d7247e authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #924 from lichray/fix-gcc7-warning

Fix a non-type template parameter type mismatch
parents c6aec19e ec90588c
......@@ -426,7 +426,7 @@ RAPIDJSON_NAMESPACE_END
RAPIDJSON_NAMESPACE_BEGIN
template <bool x> struct STATIC_ASSERTION_FAILURE;
template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; };
template<int x> struct StaticAssertTest {};
template <size_t x> struct StaticAssertTest {};
RAPIDJSON_NAMESPACE_END
#if defined(__GNUC__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment