From 45c5bdfa458e02a91d4a87ea7f2cc17b7390ca7c Mon Sep 17 00:00:00 2001 From: "lllucius@gmail.com" Date: Mon, 19 Jan 2015 18:04:43 +0000 Subject: [PATCH] Fix Linux build --- src/PluginManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp index 4bff0cae4..88b79c3e8 100644 --- a/src/PluginManager.cpp +++ b/src/PluginManager.cpp @@ -2060,7 +2060,7 @@ void PluginManager::SetInstance(const PluginID & ID, IdentInterface *instance) PluginID PluginManager::GetID(ModuleInterface *module) { return wxString::Format(wxT("%s_%s_%s_%s_%s"), - GetPluginTypeString(PluginTypeModule), + GetPluginTypeString(PluginTypeModule).c_str(), wxEmptyString, module->GetVendor().c_str(), module->GetName().c_str(), @@ -2070,7 +2070,7 @@ PluginID PluginManager::GetID(ModuleInterface *module) PluginID PluginManager::GetID(EffectIdentInterface *effect) { return wxString::Format(wxT("%s_%s_%s_%s_%s"), - GetPluginTypeString(PluginTypeEffect), + GetPluginTypeString(PluginTypeEffect).c_str(), effect->GetFamily().c_str(), effect->GetVendor().c_str(), effect->GetName().c_str(), @@ -2080,7 +2080,7 @@ PluginID PluginManager::GetID(EffectIdentInterface *effect) PluginID PluginManager::GetID(ImporterInterface *importer) { return wxString::Format(wxT("%s_%s_%s_%s_%s"), - GetPluginTypeString(PluginTypeImporter), + GetPluginTypeString(PluginTypeImporter).c_str(), wxEmptyString, importer->GetVendor().c_str(), importer->GetName().c_str(), @@ -2380,7 +2380,7 @@ wxString PluginManager::SettingsID(const PluginID & ID) const PluginDescriptor & plug = mPlugins[ID]; return wxString::Format(wxT("%s_%s_%s_%s"), - GetPluginTypeString(plug.GetPluginType()), + GetPluginTypeString(plug.GetPluginType()).c_str(), plug.GetEffectFamily().c_str(), // is empty for non-Effects plug.GetVendor().c_str(), plug.GetName().c_str());