mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 00:15:51 -04:00
compilation experiment
This commit is contained in:
parent
68c0c65e94
commit
8ecddc3fa5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue