Commit 4b2302bd authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

Fixed wrong method signature on lv2 tllfile generation, due to fixing cppcheck errorrs.

parent 176b083d
Pipeline #19079 failed with stages
in 3 minutes and 32 seconds
......@@ -10,7 +10,7 @@ using namespace XPlug;
std::string(*getTTLFromPluginPtr)(IPlugin*) = nullptr;
std::string(*getManifestFromMultpleInfosPtr)(std::vector<TTLPluginInfo>) = nullptr;
std::vector<TTLPluginInfo>(*getPluginInfosPtr)(std::string) = nullptr;
std::vector<TTLPluginInfo>(*getPluginInfosPtr)(const std::string&) = nullptr;
......@@ -44,11 +44,12 @@ int main(int argc, char* argv[]) {
getTTLFromPluginPtr = LoadFunc<std::string(*)(IPlugin*)>(pluginLibHandle, "getTTLFromPlugin");
getManifestFromMultpleInfosPtr = LoadFunc< std::string(*)(std::vector<TTLPluginInfo>)>(pluginLibHandle, "getManifestFromMultpleInfos");
getPluginInfosPtr = LoadFunc< std::vector<TTLPluginInfo>(*)(std::string)>(pluginLibHandle, "getPluginInfos");
getPluginInfosPtr = LoadFunc< std::vector<TTLPluginInfo>(*)(const std::string&)>(pluginLibHandle, "getPluginInfos");
/***************GET INFORMATIONS*****************/
auto y = GetErrorStr();
std::cout << y;
auto infos = getPluginInfosPtr(getFileName(pluginLib, true));
......@@ -38,7 +38,7 @@ std::string getManifestFromMultpleInfos(std::vector<TTLPluginInfo> plugInfos);
* @param plugInfos Array of Plugininfos with the size of \see getSizeOfPluginInfos()
* @param binaryPath binary Path reltive in the bundle Folder. This is used to get the reference to the needed binary.
std::vector<TTLPluginInfo> getPluginInfos(std::string binaryPath);
std::vector<TTLPluginInfo> getPluginInfos(const std::string& binaryPath);
#ifndef _MSC_VER
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment