diff --git a/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_node.h b/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_node.h index 375e1ea9cb..e3ebefff37 100644 --- a/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_node.h +++ b/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_node.h @@ -148,8 +148,7 @@ class TaskComposerNode TaskComposerNodePorts getPorts() const; /** @brief Generate the Dotgraph as a string */ - std::string - getDotgraph(const std::map>& results_map) const; + std::string getDotgraph(const std::map>& results_map) const; /** @brief Generate the Dotgraph and save to file */ bool saveDotgraph(const std::string& filepath, @@ -177,8 +176,7 @@ class TaskComposerNode * @brief dump the task to dot * @brief Return additional subgraphs which should get appended if needed */ - virtual std::string - dump(std::ostream& os) const; + virtual std::string dump(std::ostream& os) const; bool operator==(const TaskComposerNode& rhs) const; bool operator!=(const TaskComposerNode& rhs) const; diff --git a/tesseract_task_composer/core/src/task_composer_node.cpp b/tesseract_task_composer/core/src/task_composer_node.cpp index f1081a3ce6..87b37748e3 100644 --- a/tesseract_task_composer/core/src/task_composer_node.cpp +++ b/tesseract_task_composer/core/src/task_composer_node.cpp @@ -437,11 +437,7 @@ void TaskComposerNode::renameOutputKeys(const std::map void TaskComposerNode::setConditional(bool enable) { conditional_ = enable; } -std::string -TaskComposerNode::dump(std::ostream& os) const -{ - return dump(os, nullptr, {}); -} +std::string TaskComposerNode::dump(std::ostream& os) const { return dump(os, nullptr, {}); } std::string TaskComposerNode::dump(std::ostream& os, @@ -553,7 +549,7 @@ std::string TaskComposerNode::toString(const boost::uuids::uuid& u, const std::s { auto result = boost::lexical_cast(u); boost::replace_all(result, "-", ""); - + return (prefix + result); }