diff --git a/libcron/include/libcron/CronData.h b/libcron/include/libcron/CronData.h index 1169456..9c81068 100644 --- a/libcron/include/libcron/CronData.h +++ b/libcron/include/libcron/CronData.h @@ -21,6 +21,8 @@ namespace libcron CronData(const CronData&) = default; + CronData& operator=(const CronData&) = default; + bool is_valid() const { return valid; diff --git a/libcron/include/libcron/CronSchedule.h b/libcron/include/libcron/CronSchedule.h index 9e71476..abfb5dd 100644 --- a/libcron/include/libcron/CronSchedule.h +++ b/libcron/include/libcron/CronSchedule.h @@ -25,6 +25,8 @@ namespace libcron CronSchedule(const CronSchedule&) = default; + CronSchedule& operator=(const CronSchedule&) = default; + std::tuple calculate_from(const std::chrono::system_clock::time_point& from) const;