Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
This commit is contained in:
commit
9b2190aa63
2 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#pragma once
|
||||
#include <fc/fwd.hpp>
|
||||
#include <fc/string.hpp>
|
||||
#include <fc/reflect/typename.hpp>
|
||||
|
||||
|
||||
namespace fc{
|
||||
class sha512;
|
||||
|
|
@ -75,6 +77,8 @@ class ripemd160
|
|||
typedef ripemd160 uint160_t;
|
||||
typedef ripemd160 uint160;
|
||||
|
||||
template<> struct get_typename<uint160> { static const char* name() { return "uint160"; } };
|
||||
|
||||
} // namespace fc
|
||||
|
||||
namespace std
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
#include <fc/string.hpp>
|
||||
#include <vector>
|
||||
namespace fc {
|
||||
class value;
|
||||
template<typename T> class get_typename{};
|
||||
|
|
@ -18,4 +19,6 @@ namespace fc {
|
|||
template<> struct get_typename<void> { static const char* name() { return "char"; } };
|
||||
template<> struct get_typename<string> { static const char* name() { return "string"; } };
|
||||
template<> struct get_typename<value> { static const char* name() { return "value"; } };
|
||||
template<> struct get_typename<std::vector<char>> { static const char* name() { return "std::vector<char>"; } };
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue