diff --git a/include/fc/crypto/sha224.hpp b/include/fc/crypto/sha224.hpp index 3411e7c..7f3e908 100644 --- a/include/fc/crypto/sha224.hpp +++ b/include/fc/crypto/sha224.hpp @@ -64,6 +64,7 @@ class sha224 friend bool operator >= ( const sha224& h1, const sha224& h2 ); friend bool operator > ( const sha224& h1, const sha224& h2 ); friend bool operator < ( const sha224& h1, const sha224& h2 ); + friend std::size_t hash_value( const sha224& v ) { return ((std::size_t*)v._hash)[1]; } uint32_t _hash[7]; };