mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-04-22 00:13:01 -05:00
Add default copy assignment operator to data classes (#32)
This commit is contained in:
parent
0dd9df49d7
commit
41f238ceb0
@ -21,6 +21,8 @@ namespace libcron
|
|||||||
|
|
||||||
CronData(const CronData&) = default;
|
CronData(const CronData&) = default;
|
||||||
|
|
||||||
|
CronData& operator=(const CronData&) = default;
|
||||||
|
|
||||||
bool is_valid() const
|
bool is_valid() const
|
||||||
{
|
{
|
||||||
return valid;
|
return valid;
|
||||||
|
@ -25,6 +25,8 @@ namespace libcron
|
|||||||
|
|
||||||
CronSchedule(const CronSchedule&) = default;
|
CronSchedule(const CronSchedule&) = default;
|
||||||
|
|
||||||
|
CronSchedule& operator=(const CronSchedule&) = default;
|
||||||
|
|
||||||
std::tuple<bool, std::chrono::system_clock::time_point>
|
std::tuple<bool, std::chrono::system_clock::time_point>
|
||||||
calculate_from(const std::chrono::system_clock::time_point& from) const;
|
calculate_from(const std::chrono::system_clock::time_point& from) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user