From d157c2c756f1b65f7bb12af789c3ca1f9dcc647d Mon Sep 17 00:00:00 2001 From: cwyyprog Date: Tue, 14 Nov 2017 17:11:24 +0800 Subject: [PATCH] Update typename.hpp --- include/fc/reflect/typename.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/reflect/typename.hpp b/include/fc/reflect/typename.hpp index 312c927..5cd55c9 100644 --- a/include/fc/reflect/typename.hpp +++ b/include/fc/reflect/typename.hpp @@ -15,7 +15,7 @@ namespace fc { class exception; namespace ip { class address; } - template class get_typename{}; + template struct get_typename; template<> struct get_typename { static const char* name() { return "int32_t"; } }; template<> struct get_typename { static const char* name() { return "int64_t"; } }; template<> struct get_typename { static const char* name() { return "int16_t"; } };