From 36971f4094e1464ab0b3d25478e577e6f55b6950 Mon Sep 17 00:00:00 2001 From: dnotestein Date: Thu, 5 Sep 2013 20:38:12 -0400 Subject: [PATCH] Fix time_point_sec compile error --- include/fc/time.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/fc/time.hpp b/include/fc/time.hpp index 4d9bfc1..dd28bfc 100644 --- a/include/fc/time.hpp +++ b/include/fc/time.hpp @@ -76,6 +76,8 @@ namespace fc { } friend bool operator < ( const time_point_sec& a, const time_point_sec& b ) { return a.utc_seconds < b.utc_seconds; } friend bool operator > ( const time_point_sec& a, const time_point_sec& b ) { return a.utc_seconds > b.utc_seconds; } + friend bool operator <= ( const time_point_sec& a, const time_point_sec& b ) { return a.utc_seconds <= b.utc_seconds; } + friend bool operator >= ( const time_point_sec& a, const time_point_sec& b ) { return a.utc_seconds >= b.utc_seconds; } friend bool operator == ( const time_point_sec& a, const time_point_sec& b ) { return a.utc_seconds == b.utc_seconds; } time_point_sec& operator += ( uint32_t m ) { utc_seconds+=m; return *this; }