mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-04-22 00:13:01 -05:00
clang-tidy
This commit is contained in:
parent
d2ec26f494
commit
9d7134c527
@ -4,6 +4,7 @@
|
||||
#include "CronData.h"
|
||||
#include "CronSchedule.h"
|
||||
#include <chrono>
|
||||
#include <utility>
|
||||
|
||||
namespace libcron
|
||||
{
|
||||
@ -11,7 +12,7 @@ namespace libcron
|
||||
{
|
||||
public:
|
||||
|
||||
Task(const std::string name, const CronSchedule schedule, std::function<void()> task)
|
||||
Task(std::string name, const CronSchedule schedule, std::function<void()> task)
|
||||
: name(std::move(name)), schedule(std::move(schedule)), task(std::move(task))
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user