From bb7cedade5d6f959c1eb74794e897ff76578250c Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Wed, 11 Mar 2015 18:17:45 -0400 Subject: [PATCH] adding != op --- include/fc/safe.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fc/safe.hpp b/include/fc/safe.hpp index 538f550..44effd6 100644 --- a/include/fc/safe.hpp +++ b/include/fc/safe.hpp @@ -50,6 +50,10 @@ namespace fc { { return a.value == b.value; } + friend bool operator != ( const safe& a, const safe& b ) + { + return a.value != b.value; + } friend bool operator < ( const safe& a, const safe& b ) { return a.value < b.value;