diff --git a/include/fc/crypto/ripemd160.hpp b/include/fc/crypto/ripemd160.hpp index 5cf404d..e2d13a9 100644 --- a/include/fc/crypto/ripemd160.hpp +++ b/include/fc/crypto/ripemd160.hpp @@ -1,6 +1,8 @@ #pragma once #include #include +#include + namespace fc{ class sha512; @@ -75,6 +77,8 @@ class ripemd160 typedef ripemd160 uint160_t; typedef ripemd160 uint160; + template<> struct get_typename { static const char* name() { return "uint160"; } }; + } // namespace fc namespace std diff --git a/include/fc/reflect/typename.hpp b/include/fc/reflect/typename.hpp index 0fbb1dd..20cd1f6 100644 --- a/include/fc/reflect/typename.hpp +++ b/include/fc/reflect/typename.hpp @@ -1,5 +1,6 @@ #pragma once #include +#include namespace fc { class value; template class get_typename{}; @@ -18,4 +19,6 @@ namespace fc { template<> struct get_typename { static const char* name() { return "char"; } }; template<> struct get_typename { static const char* name() { return "string"; } }; template<> struct get_typename { static const char* name() { return "value"; } }; + template<> struct get_typename> { static const char* name() { return "std::vector"; } }; + }