Merge pull request #6 from cwyyprog/master

Fix compile error
This commit is contained in:
oxarbitrage 2017-11-14 17:46:05 -03:00 committed by GitHub
commit 7cd9f1c7a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"; } };

View file

@ -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