diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-06 23:06:11 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-06 23:06:11 +0100 |
commit | 1e14dabc2d9771af24420b669ac43f16600d769c (patch) | |
tree | 952babd93b47a12c9022eaa63be7e2e8d94fba15 /src | |
parent | d73c8b930b6c164a58621ae09a6cc727976e5657 (diff) | |
download | MinedMap-1e14dabc2d9771af24420b669ac43f16600d769c.tar MinedMap-1e14dabc2d9771af24420b669ac43f16600d769c.zip |
Fix definition of timespec >= operator
Diffstat (limited to 'src')
-rw-r--r-- | src/MinedMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp index 0193bbc..b89f89d 100644 --- a/src/MinedMap.cpp +++ b/src/MinedMap.cpp @@ -65,7 +65,7 @@ static inline bool operator>(const struct timespec &t1, const struct timespec &t } static inline bool operator>=(const struct timespec &t1, const struct timespec &t2) { - return (t1.tv_sec >= t2.tv_sec || (t1.tv_sec == t2.tv_sec && t1.tv_nsec >= t2.tv_nsec)); + return (t1.tv_sec > t2.tv_sec || (t1.tv_sec == t2.tv_sec && t1.tv_nsec >= t2.tv_nsec)); } static inline bool operator==(const struct timespec &t1, const struct timespec &t2) { |