From 2fa261717f72427ad0cea1231d9410abdd4d3fa9 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sat, 14 Mar 2020 07:25:00 -0400 Subject: [PATCH] Make LLDate trivially copy/movable --- indra/llcommon/lldate.cpp | 4 ---- indra/llcommon/lldate.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/indra/llcommon/lldate.cpp b/indra/llcommon/lldate.cpp index 7a2a0869f49..a6fa75da9af 100644 --- a/indra/llcommon/lldate.cpp +++ b/indra/llcommon/lldate.cpp @@ -51,10 +51,6 @@ static const F64 LL_APR_USEC_PER_SEC = 1000000.0; LLDate::LLDate() : mSecondsSinceEpoch(DATE_EPOCH) {} -LLDate::LLDate(const LLDate& date) : - mSecondsSinceEpoch(date.mSecondsSinceEpoch) -{} - LLDate::LLDate(F64SecondsImplicit seconds_since_epoch) : mSecondsSinceEpoch(seconds_since_epoch.value()) {} diff --git a/indra/llcommon/lldate.h b/indra/llcommon/lldate.h index be2cd2d0510..847f08d8c77 100644 --- a/indra/llcommon/lldate.h +++ b/indra/llcommon/lldate.h @@ -52,7 +52,7 @@ class LL_COMMON_API LLDate /** * @brief Construct a date equal to the source date. */ - LLDate(const LLDate& date); + LLDate(const LLDate& date) = default; /** * @brief Construct a date from a seconds since epoch value. -- GitLab