diff --git a/src/wrench/services/compute/bare_metal/BareMetalComputeService.cpp b/src/wrench/services/compute/bare_metal/BareMetalComputeService.cpp index 82244aee6b..d1f965bfdc 100644 --- a/src/wrench/services/compute/bare_metal/BareMetalComputeService.cpp +++ b/src/wrench/services/compute/bare_metal/BareMetalComputeService.cpp @@ -78,7 +78,7 @@ namespace wrench { * @return a tuple * @throw std::invalid_argument */ - static std::tuple parseResourceSpec(const std::string spec) { + static std::tuple parseResourceSpec(const std::string &spec) { std::vector tokens; boost::algorithm::split(tokens, spec, boost::is_any_of(":")); switch (tokens.size()) { diff --git a/src/wrench/services/compute/htcondor/HTCondorComputeService.cpp b/src/wrench/services/compute/htcondor/HTCondorComputeService.cpp index 6441e413dd..767e8adbcd 100644 --- a/src/wrench/services/compute/htcondor/HTCondorComputeService.cpp +++ b/src/wrench/services/compute/htcondor/HTCondorComputeService.cpp @@ -339,16 +339,12 @@ namespace wrench { this->central_manager->submitStandardJob(job, service_specific_args); // send positive answer -// try { S4U_Mailbox::dputMessage( answer_mailbox, new ComputeServiceSubmitStandardJobAnswerMessage( job, this->getSharedPtr(), true, nullptr, this->getMessagePayloadValue( HTCondorComputeServiceMessagePayload::SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD))); return; -// } catch (std::shared_ptr &cause) { -// return; -// } } /**