Skip to content

Commit

Permalink
TaskContext::loadPlugin: use PluginLoader::loadPlugin instead of load…
Browse files Browse the repository at this point in the history
…Library

As we don't have any information, were on the machine the plugin is installed,
we need to use the RTT plugin discovery mechanism.
  • Loading branch information
Janosch Machowinski committed May 28, 2015
1 parent 702d857 commit 9c9e008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtt/TaskContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ namespace RTT

bool TaskContext::loadPlugin(const string& pluginPath)
{
return PluginLoader::Instance()->loadLibrary(pluginPath);
return PluginLoader::Instance()->loadPlugin(pluginPath, "");
}


Expand Down

0 comments on commit 9c9e008

Please # to comment.