commit
0db28ec6de
7 changed files with 0 additions and 49 deletions
|
|
@ -117,8 +117,6 @@ namespace fc {
|
|||
#include <fc/crypto/city.hpp>
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<typename T, size_t N>
|
||||
struct hash<fc::array<T,N> >
|
||||
{
|
||||
|
|
|
|||
|
|
@ -79,8 +79,6 @@ class ripemd160
|
|||
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<fc::ripemd160>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -72,8 +72,6 @@ class sha1
|
|||
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<fc::sha1>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -73,8 +73,6 @@ class sha224
|
|||
} // fc
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<fc::sha224>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
#pragma once
|
||||
#include <fc/string.hpp>
|
||||
|
||||
namespace fc {
|
||||
|
||||
namespace ip {
|
||||
class address {
|
||||
public:
|
||||
address( uint32_t _ip = 0 );
|
||||
address( const fc::string& s );
|
||||
|
||||
|
||||
address& operator=( const fc::string& s );
|
||||
operator fc::string()const;
|
||||
|
||||
uint32_t ip()const { return _ip; }
|
||||
|
||||
|
||||
private:
|
||||
uint32_t _ip;
|
||||
};
|
||||
|
||||
class endpoint {
|
||||
public:
|
||||
endpoint();
|
||||
endpoint( const fc::string& i, uint16_t p );
|
||||
endpoint( const address& i, uint16_t p );
|
||||
|
||||
uint16_t port()const { return _port; }
|
||||
fc::ip::address get_address()const { return _ip; }
|
||||
|
||||
private:
|
||||
uint16_t _port;
|
||||
address _ip;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -112,8 +112,6 @@ namespace fc {
|
|||
}
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<fc::ip::endpoint>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -104,8 +104,6 @@ namespace fc
|
|||
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<fc::uint128>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue