Fix time_point_sec compile error
This commit is contained in:
parent
5d2e605747
commit
36971f4094
1 changed files with 2 additions and 0 deletions
|
|
@ -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; }
|
||||||
|
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; }
|
time_point_sec& operator += ( uint32_t m ) { utc_seconds+=m; return *this; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue