From 516539eb65aec68b9076f0d7f5746282cfada8ea Mon Sep 17 00:00:00 2001 From: timurhai Date: Fri, 2 Jul 2021 20:48:48 +0300 Subject: [PATCH] code mistake error fix --- afanasy/src/libafanasy/taskexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afanasy/src/libafanasy/taskexec.h b/afanasy/src/libafanasy/taskexec.h index 40c3ef258..04b3cf1e1 100644 --- a/afanasy/src/libafanasy/taskexec.h +++ b/afanasy/src/libafanasy/taskexec.h @@ -172,7 +172,7 @@ class TaskExec : public Af inline void setTaskCommand(const std::string & i_str ) {m_command_task = i_str;} inline void setTaskFiles( const std::vector & i_vec) {m_files_task = i_vec;} - inline void joinEnvironment(const std::map & i_env); + inline void joinEnvironment(const std::map & i_env) {for (auto const& it : i_env) m_environment[it.first] = it.second;} inline void setHostNames( const std::list & names) { m_multihost_names = names;}