summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-14 21:21:47 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-14 21:21:47 +0100
commitee05b1c06aa5305b5c97dc74dc8f253bab99a2ac (patch)
treec9dfa056c5e9c3d828719eabf4fbd52986df9d90 /src/local_time.h
parent6fef005944fa5613cb6395624781bfcc6c605d83 (diff)
Add operator< for LocalTime.
Diffstat (limited to 'src/local_time.h')
-rw-r--r--src/local_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h
index d213b898..ad55ad5a 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -68,6 +68,7 @@ public:
bool operator== (LocalTime const & other) const;
bool operator!= (LocalTime const & other) const;
+ bool operator< (LocalTime const & other) const;
private:
friend class ::local_time_test;