File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
tesseract_task_composer/core
include/tesseract_task_composer/core Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,19 @@ class TaskComposerExecutorFactory
9393
9494class TaskComposerPluginFactory
9595{
96+ private:
97+ struct Implementation ;
98+ std::unique_ptr<Implementation> impl_;
99+
96100public:
97101 using PluginInfoMap = std::map<std::string, tesseract_common::PluginInfo>;
98102
99103 TaskComposerPluginFactory ();
100104 ~TaskComposerPluginFactory ();
101105 TaskComposerPluginFactory (const TaskComposerPluginFactory&) = delete ;
102106 TaskComposerPluginFactory& operator =(const TaskComposerPluginFactory&) = delete ;
103- TaskComposerPluginFactory (TaskComposerPluginFactory&&) = default ;
104- TaskComposerPluginFactory& operator =(TaskComposerPluginFactory&&) = default ;
107+ TaskComposerPluginFactory (TaskComposerPluginFactory&&);
108+ TaskComposerPluginFactory& operator =(TaskComposerPluginFactory&&);
105109
106110 /* *
107111 * @brief Load plugins from a configuration object
@@ -303,10 +307,6 @@ class TaskComposerPluginFactory
303307 * @return The plugin information config yaml node/
304308 */
305309 YAML::Node getConfig () const ;
306-
307- private:
308- struct Implementation ;
309- std::unique_ptr<Implementation> impl_;
310310};
311311} // namespace tesseract_planning
312312#endif // TESSERACT_TASK_COMPOSER_TASK_COMPOSER_FACTORY_H
Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ TaskComposerPluginFactory::TaskComposerPluginFactory(const std::string& config)
9191// This prevents it from being defined inline.
9292// If not the forward declare of PluginLoader cause compiler error.
9393TaskComposerPluginFactory::~TaskComposerPluginFactory () = default ;
94+ TaskComposerPluginFactory::TaskComposerPluginFactory (TaskComposerPluginFactory&&) = default ;
95+ TaskComposerPluginFactory& TaskComposerPluginFactory::operator =(TaskComposerPluginFactory&&) = default ;
9496
9597void TaskComposerPluginFactory::loadConfig (const tesseract_common::TaskComposerPluginInfo& config)
9698{
You can’t perform that action at this time.
0 commit comments