Merge pull request #1 from cwyyprog/fix-for-build-with-gcc-7.2-1

Update static_variant.hpp
This commit is contained in:
cwyyprog 2017-11-14 17:23:01 +08:00 committed by GitHub
commit 1296ebb485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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