diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 247f25fff..20b952c5e 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -84,6 +84,7 @@ namespace rct { return bytes[i]; } bool operator==(const key &k) const { return !crypto_verify_32(bytes, k.bytes); } + bool operator!=(const key &k) const { return crypto_verify_32(bytes, k.bytes); } unsigned char bytes[32]; }; typedef std::vector keyV; //vector of keys