diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-07-05 19:18:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 19:18:09 +0300 |
commit | 958f7812839160247207c01e78b90f1935022ab3 (patch) | |
tree | 6ec615eb07b26a2ac2b07d747515847f8fdad0bd /indra/llcommon/lldate.h | |
parent | b099dbef27f2af47a421bb9848cfbca1aaa08327 (diff) | |
parent | 1296afd96a74877feb91690ec8dcd99b225554b8 (diff) |
Merge pull request #1930 from RyeMutt/llsd-opts
Introduce move support and string_view to LLSD
Diffstat (limited to 'indra/llcommon/lldate.h')
-rw-r--r-- | indra/llcommon/lldate.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/llcommon/lldate.h b/indra/llcommon/lldate.h index 81f2dd0d1c..1a69a04232 100644 --- a/indra/llcommon/lldate.h +++ b/indra/llcommon/lldate.h @@ -43,16 +43,13 @@ */ class LL_COMMON_API LLDate { + static constexpr F64 DATE_EPOCH = 0.0; public: /** * @brief Construct a date equal to epoch. */ - LLDate(); - - /** - * @brief Construct a date equal to the source date. - */ - LLDate(const LLDate& date); + constexpr LLDate() : mSecondsSinceEpoch(DATE_EPOCH) + {} /** * @brief Construct a date from a seconds since epoch value. |