From 592ecf8eedf9680c65217c84f071b21a0fe56240 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 3 Jun 2020 18:23:23 +0200 Subject: [PATCH] Fix setting the trampolineID --- source/PluginManagement.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/PluginManagement.cpp b/source/PluginManagement.cpp index c7ce403..c4bbe37 100644 --- a/source/PluginManagement.cpp +++ b/source/PluginManagement.cpp @@ -194,10 +194,9 @@ std::vector PluginManagement::loadPlugins(const std::vector info = PluginInformationFactory::load(pluginContainer.getPluginData(), heapHandle, trampolin_data, trampolin_data_length, trampolineId); - + std::optional info = PluginInformationFactory::load(pluginContainer.getPluginData(), heapHandle, trampolin_data, trampolin_data_length, trampolineID++); if (!info) { DEBUG_FUNCTION_LINE("Failed to load Plugin %s", pluginContainer.getMetaInformation().getName().c_str()); continue;