Skip to content

Commit

Permalink
Fix clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Dec 5, 2024
1 parent 2be67c3 commit d206b12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class TaskComposerPluginFactory
~TaskComposerPluginFactory();
TaskComposerPluginFactory(const TaskComposerPluginFactory&) = delete;
TaskComposerPluginFactory& operator=(const TaskComposerPluginFactory&) = delete;
TaskComposerPluginFactory(TaskComposerPluginFactory&&);
TaskComposerPluginFactory& operator=(TaskComposerPluginFactory&&);
TaskComposerPluginFactory(TaskComposerPluginFactory&&) noexcept;
TaskComposerPluginFactory& operator=(TaskComposerPluginFactory&&) noexcept;

/**
* @brief Load plugins from a configuration object
Expand Down
2 changes: 1 addition & 1 deletion tesseract_task_composer/core/src/task_composer_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void TaskComposerNode::serialize(Archive& ar, const unsigned int /*version*/)

std::string TaskComposerNode::toString(const boost::uuids::uuid& u, const std::string& prefix)
{
std::string result = boost::lexical_cast<std::string>(u);
auto result = boost::lexical_cast<std::string>(u);
boost::replace_all(result, "-", "");

return (prefix + result);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ TaskComposerPluginFactory::TaskComposerPluginFactory(const std::string& config)
// This prevents it from being defined inline.
// If not the forward declare of PluginLoader cause compiler error.
TaskComposerPluginFactory::~TaskComposerPluginFactory() = default;
TaskComposerPluginFactory::TaskComposerPluginFactory(TaskComposerPluginFactory&&) = default;
TaskComposerPluginFactory& TaskComposerPluginFactory::operator=(TaskComposerPluginFactory&&) = default;
TaskComposerPluginFactory::TaskComposerPluginFactory(TaskComposerPluginFactory&&) noexcept = default;
TaskComposerPluginFactory& TaskComposerPluginFactory::operator=(TaskComposerPluginFactory&&) noexcept = default;

void TaskComposerPluginFactory::loadConfig(const tesseract_common::TaskComposerPluginInfo& config)
{
Expand Down

0 comments on commit d206b12

Please sign in to comment.