From 9c9e008f74d87e4b352d0294f5bda47b1c1550ef Mon Sep 17 00:00:00 2001 From: Janosch Machowinski Date: Thu, 30 Apr 2015 13:52:21 +0200 Subject: [PATCH] TaskContext::loadPlugin: use PluginLoader::loadPlugin instead of loadLibrary As we don't have any information, were on the machine the plugin is installed, we need to use the RTT plugin discovery mechanism. --- rtt/TaskContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtt/TaskContext.cpp b/rtt/TaskContext.cpp index fc0e3e2f0..09f39b63e 100644 --- a/rtt/TaskContext.cpp +++ b/rtt/TaskContext.cpp @@ -239,7 +239,7 @@ namespace RTT bool TaskContext::loadPlugin(const string& pluginPath) { - return PluginLoader::Instance()->loadLibrary(pluginPath); + return PluginLoader::Instance()->loadPlugin(pluginPath, ""); }