Updates from BitShares FC #22
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ namespace fc {
|
|||
class exception;
|
||||
namespace ip { class address; }
|
||||
|
||||
template<typename T> class get_typename{};
|
||||
template<typename... T> struct get_typename;
|
||||
template<> struct get_typename<int32_t> { static const char* name() { return "int32_t"; } };
|
||||
template<> struct get_typename<int64_t> { static const char* name() { return "int64_t"; } };
|
||||
template<> struct get_typename<int16_t> { static const char* name() { return "int16_t"; } };
|
||||
|
|
|
|||
|
|
@ -382,5 +382,5 @@ struct visitor {
|
|||
s.visit( to_static_variant(ar[1]) );
|
||||
}
|
||||
|
||||
template<typename... T> struct get_typename<T...> { static const char* name() { return typeid(static_variant<T...>).name(); } };
|
||||
template<typename... T> struct get_typename { static const char* name() { return typeid(static_variant<T...>).name(); } };
|
||||
} // namespace fc
|
||||
|
|
|
|||
Loading…
Reference in a new issue