adding not equal operator to fc::ecc::public_key
This commit is contained in:
parent
b644ce2b67
commit
3da6a03987
1 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ namespace fc {
|
||||||
{
|
{
|
||||||
return a.serialize() == b.serialize();
|
return a.serialize() == b.serialize();
|
||||||
}
|
}
|
||||||
|
inline friend bool operator!=( const public_key& a, const public_key& b )
|
||||||
|
{
|
||||||
|
return a.serialize() != b.serialize();
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
friend class private_key;
|
friend class private_key;
|
||||||
fc::fwd<detail::public_key_impl,8> my;
|
fc::fwd<detail::public_key_impl,8> my;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue