From 9874fc907603b742245043614d37ad8169c771ab Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Thu, 22 May 2014 14:24:31 -0400 Subject: [PATCH] adding != operator to fc::microseconds --- include/fc/time.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fc/time.hpp b/include/fc/time.hpp index f14c4f0..888eefd 100644 --- a/include/fc/time.hpp +++ b/include/fc/time.hpp @@ -18,6 +18,7 @@ namespace fc { bool operator==(const microseconds& c)const { return _count == c._count; } + bool operator!=(const microseconds& c)const { return _count != c._count; } friend bool operator>(const microseconds& a, const microseconds& b){ return a._count > b._count; } friend bool operator>=(const microseconds& a, const microseconds& b){ return a._count >= b._count; } friend bool operator<(const microseconds& a, const microseconds& b){ return a._count < b._count; }