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