Skip to content

Commit

Permalink
Fix MSVC compiler error in TaskComposerPluginFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason authored and Levi-Armstrong committed Jan 8, 2025
1 parent fcd73ab commit b8f02cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class TaskComposerPluginFactory
~TaskComposerPluginFactory();
TaskComposerPluginFactory(const TaskComposerPluginFactory&) = delete;
TaskComposerPluginFactory& operator=(const TaskComposerPluginFactory&) = delete;
TaskComposerPluginFactory(TaskComposerPluginFactory&&) noexcept = default;
TaskComposerPluginFactory& operator=(TaskComposerPluginFactory&&) noexcept = default;
TaskComposerPluginFactory(TaskComposerPluginFactory&&) noexcept;
TaskComposerPluginFactory& operator=(TaskComposerPluginFactory&&) noexcept;

/**
* @brief Load plugins from a configuration object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,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&&) noexcept = default;
TaskComposerPluginFactory& TaskComposerPluginFactory::operator=(TaskComposerPluginFactory&&) noexcept = default;

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

0 comments on commit b8f02cc

Please sign in to comment.