diff options
Diffstat (limited to 'src/task.cc')
-rw-r--r-- | src/task.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/task.cc b/src/task.cc index 7813235..680dbf8 100644 --- a/src/task.cc +++ b/src/task.cc @@ -6,13 +6,14 @@ #include <unistd.h> #include <iostream> #include <algorithm> +#include <utility> Task::Task(const ctor::build_configuration& config, const ctor::settings& settings, - const std::string& sourceDir) + std::string sourceDir) : config(config) , output_system(config.system) , settings(settings) - , sourceDir(sourceDir) + , sourceDir(std::move(sourceDir)) { } |