From 3da6a03987f2f658fbf69ab34d2db12f7c162b57 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Fri, 13 Sep 2013 23:13:11 -0400 Subject: [PATCH] adding not equal operator to fc::ecc::public_key --- include/fc/crypto/elliptic.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fc/crypto/elliptic.hpp b/include/fc/crypto/elliptic.hpp index fc717c5..5168bd3 100644 --- a/include/fc/crypto/elliptic.hpp +++ b/include/fc/crypto/elliptic.hpp @@ -49,6 +49,10 @@ namespace fc { { return a.serialize() == b.serialize(); } + inline friend bool operator!=( const public_key& a, const public_key& b ) + { + return a.serialize() != b.serialize(); + } private: friend class private_key; fc::fwd my;