diff --git a/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_plugin_factory.h b/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_plugin_factory.h index f49183b030..a3ec8a6002 100644 --- a/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_plugin_factory.h +++ b/tesseract_task_composer/core/include/tesseract_task_composer/core/task_composer_plugin_factory.h @@ -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 diff --git a/tesseract_task_composer/core/src/task_composer_plugin_factory.cpp b/tesseract_task_composer/core/src/task_composer_plugin_factory.cpp index 530a4402bd..051efcf22a 100644 --- a/tesseract_task_composer/core/src/task_composer_plugin_factory.cpp +++ b/tesseract_task_composer/core/src/task_composer_plugin_factory.cpp @@ -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) {