From 9d7134c5275e23bc3955fecfc81a3d9488ca2cf4 Mon Sep 17 00:00:00 2001 From: Per Malmberg Date: Sun, 11 Mar 2018 15:28:51 +0100 Subject: [PATCH] clang-tidy --- libcron/Task.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcron/Task.h b/libcron/Task.h index d8060f9..322e9e3 100644 --- a/libcron/Task.h +++ b/libcron/Task.h @@ -4,6 +4,7 @@ #include "CronData.h" #include "CronSchedule.h" #include +#include namespace libcron { @@ -11,7 +12,7 @@ namespace libcron { public: - Task(const std::string name, const CronSchedule schedule, std::function task) + Task(std::string name, const CronSchedule schedule, std::function task) : name(std::move(name)), schedule(std::move(schedule)), task(std::move(task)) { }