Fix gcc compilation error
This commit is contained in:
parent
effc8a8f30
commit
923db0e641
@ -399,12 +399,7 @@ template <typename T> struct IsGenericValue : IsGenericValueImpl<T>::Type {};
|
|||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
template <typename ValueType, typename T>
|
template <typename ValueType, typename T>
|
||||||
struct TypeHelper {
|
struct TypeHelper {};
|
||||||
static bool Is(const ValueType&) { RAPIDJSON_ASSERT(false && "Unsupport type"); }
|
|
||||||
static T Get(const ValueType&) { RAPIDJSON_ASSERT(false && "Unsupport type"); return T(); }
|
|
||||||
static ValueType& Set(ValueType&, T) { RAPIDJSON_ASSERT(false && "Unsupport type"); }
|
|
||||||
static ValueType& Set(ValueType&, T, typename ValueType::AllocatorType&) { RAPIDJSON_ASSERT(false && "Unsupport type"); }
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename ValueType>
|
template<typename ValueType>
|
||||||
struct TypeHelper<ValueType, bool> {
|
struct TypeHelper<ValueType, bool> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user