Skip to content
Snippets Groups Projects
Commit 2fa26171 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Make LLDate trivially copy/movable

parent 93e98155
No related branches found
No related tags found
No related merge requests found
......@@ -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())
{}
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment