From 8ecddc3fa50716d4f272e3b3a3964334845812b9 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 25 Jan 2019 09:45:21 +0100 Subject: [PATCH] compilation experiment --- libretroshare/src/serialiser/rstypeserializer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/serialiser/rstypeserializer.h b/libretroshare/src/serialiser/rstypeserializer.h index da34e1baf..c4f0439cf 100644 --- a/libretroshare/src/serialiser/rstypeserializer.h +++ b/libretroshare/src/serialiser/rstypeserializer.h @@ -131,7 +131,8 @@ struct RsTypeSerializer /// Generic types template - typename std::enable_if::value || !(std::is_base_of::value || std::is_enum::value || std::is_base_of::value)>::type + typename std::enable_if::value + || !(std::is_base_of::value || std::is_enum::value || std::is_base_of::value || std::is_same::value)>::type static /*void*/ serial_process( RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext& ctx, T& member, const std::string& member_name )