mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
compilation experiment
This commit is contained in:
parent
68c0c65e94
commit
8ecddc3fa5
@ -131,7 +131,8 @@ struct RsTypeSerializer
|
|||||||
|
|
||||||
/// Generic types
|
/// Generic types
|
||||||
template<typename T>
|
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,
|
static /*void*/ serial_process( RsGenericSerializer::SerializeJob j,
|
||||||
RsGenericSerializer::SerializeContext& ctx,
|
RsGenericSerializer::SerializeContext& ctx,
|
||||||
T& member, const std::string& member_name )
|
T& member, const std::string& member_name )
|
||||||
|
Loading…
Reference in New Issue
Block a user