Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Dec 5, 2024
1 parent d206b12 commit 094bac3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ class TaskComposerNode
TaskComposerNodePorts getPorts() const;

/** @brief Generate the Dotgraph as a string */
std::string
getDotgraph(const std::map<boost::uuids::uuid, std::unique_ptr<TaskComposerNodeInfo>>& results_map) const;
std::string getDotgraph(const std::map<boost::uuids::uuid, std::unique_ptr<TaskComposerNodeInfo>>& results_map) const;

/** @brief Generate the Dotgraph and save to file */
bool saveDotgraph(const std::string& filepath,
Expand Down Expand Up @@ -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;
Expand Down
8 changes: 2 additions & 6 deletions tesseract_task_composer/core/src/task_composer_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,7 @@ void TaskComposerNode::renameOutputKeys(const std::map<std::string, std::string>

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,
Expand Down Expand Up @@ -553,7 +549,7 @@ std::string TaskComposerNode::toString(const boost::uuids::uuid& u, const std::s
{
auto result = boost::lexical_cast<std::string>(u);
boost::replace_all(result, "-", "");

return (prefix + result);
}

Expand Down

0 comments on commit 094bac3

Please sign in to comment.