compilation experiment

This commit is contained in:
csoler 2019-01-25 09:45:21 +01:00
parent 68c0c65e94
commit 8ecddc3fa5
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -131,7 +131,8 @@ struct RsTypeSerializer
/// Generic types
template<typename T>
typename std::enable_if<std::is_same<RsTlvItem,T>::value || !(std::is_base_of<RsSerializable,T>::value || std::is_enum<T>::value || std::is_base_of<RsTlvItem,T>::value)>::type
typename std::enable_if<std::is_same<RsTlvItem,T>::value
|| !(std::is_base_of<RsSerializable,T>::value || std::is_enum<T>::value || std::is_base_of<RsTlvItem,T>::value || std::is_same<unsigned long,T>::value)>::type
static /*void*/ serial_process( RsGenericSerializer::SerializeJob j,
RsGenericSerializer::SerializeContext& ctx,
T& member, const std::string& member_name )