Remove unnecessary predeclarations

This commit is contained in:
John Jones 2019-07-23 17:25:02 -05:00
parent 94f77ffc85
commit ea9128257c
2 changed files with 0 additions and 12 deletions

View file

@ -28,9 +28,6 @@
#include <fc/reflect/typename.hpp>
namespace fc{
class sha512;
class sha256;
class ripemd160;
class hash160
{
@ -112,12 +109,6 @@ namespace raw {
void to_variant( const hash160& bi, variant& v, uint32_t max_depth );
void from_variant( const variant& v, hash160& bi, uint32_t max_depth );
/*
typedef hash160 uint160_t;
typedef hash160 uint160;
template<> struct get_typename<uint160_t> { static const char* name() { return "uint160_t"; } };
*/
template<> struct get_typename<hash160> { static const char* name() { return "hash160"; } };
} // namespace fc

View file

@ -28,9 +28,6 @@
#include <openssl/ripemd.h>
#include <string.h>
#include <fc/crypto/hash160.hpp>
#include <fc/crypto/ripemd160.hpp>
#include <fc/crypto/sha512.hpp>
#include <fc/crypto/sha256.hpp>
#include <fc/variant.hpp>
#include <vector>
#include "_digest_common.hpp"