diff options
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index b308e82b4..0b78c5390 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -188,6 +188,10 @@ public: return Time<S, O> (1); } + static Time<S, O> min () { + return Time<S, O> (-INT64_MAX); + } + static Time<S, O> max () { return Time<S, O> (INT64_MAX); } |
