Skip to content

Commit

Permalink
C++ cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Jun 18, 2020
1 parent 65a740d commit 0470cdc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace wrench {
* @return a <cores, ram> tuple
* @throw std::invalid_argument
*/
static std::tuple<std::string, unsigned long> parseResourceSpec(const std::string spec) {
static std::tuple<std::string, unsigned long> parseResourceSpec(const std::string &spec) {
std::vector<std::string> tokens;
boost::algorithm::split(tokens, spec, boost::is_any_of(":"));
switch (tokens.size()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTCondorComputeService>(), true, nullptr, this->getMessagePayloadValue(
HTCondorComputeServiceMessagePayload::SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD)));
return;
// } catch (std::shared_ptr<NetworkError> &cause) {
// return;
// }
}

/**
Expand Down

0 comments on commit 0470cdc

Please sign in to comment.