diff --git a/source/PluginManagement.cpp b/source/PluginManagement.cpp index c4bbe37..5665411 100644 --- a/source/PluginManagement.cpp +++ b/source/PluginManagement.cpp @@ -188,7 +188,7 @@ std::vector PluginManagement::loadPlugins(const std::vector(pluginData)); + container.setPluginData(pluginData); plugins.push_back(container); } else { DEBUG_FUNCTION_LINE("Failed to get meta information"); diff --git a/source/plugin/PluginContainer.h b/source/plugin/PluginContainer.h index 59980d1..94008a4 100644 --- a/source/plugin/PluginContainer.h +++ b/source/plugin/PluginContainer.h @@ -37,7 +37,7 @@ public: return this->metaInformation; } - void setMetaInformation(PluginMetaInformation &metaInfo) { + void setMetaInformation(const PluginMetaInformation &metaInfo) { this->metaInformation = metaInfo; } @@ -45,7 +45,7 @@ public: return pluginInformation; } - void setPluginInformation(PluginInformation &pluginInformation) { + void setPluginInformation(const PluginInformation &pluginInformation) { this->pluginInformation = pluginInformation; } @@ -53,7 +53,7 @@ public: return pluginData; } - void setPluginData(PluginData &pluginData) { + void setPluginData(const PluginData &pluginData) { this->pluginData = pluginData; }