comparison vampy-main.cpp @ 87:39c5f644152d

Minor tidy
author Chris Cannam
date Thu, 10 Jan 2019 15:42:05 +0000
parents 980e092d7ee2
children c85d26cb9dab
comparison
equal deleted inserted replaced
86:9d1df2348e11 87:39c5f644152d
357 357
358 const VampPluginDescriptor *tmp = adapters[index]->getDescriptor(); 358 const VampPluginDescriptor *tmp = adapters[index]->getDescriptor();
359 359
360 if (adapters[index]->failed()) { 360 if (adapters[index]->failed()) {
361 cerr << "\nERROR: [in vampGetPluginDescriptor] Removing adapter of: \n'" 361 cerr << "\nERROR: [in vampGetPluginDescriptor] Removing adapter of: \n'"
362 << adapters[index]->getPlugKey() << "'\n" 362 << adapters[index]->getPlugKey() << "'\n"
363 << "The plugin has failed to construct. Hint: Check __init__() function." << endl; 363 << "The plugin has failed to construct. Hint: Check __init__() function." << endl;
364 pyExtensionManager.deleteModuleName(adapters[index]->getPlugKey()); 364 pyExtensionManager.deleteModuleName(adapters[index]->getPlugKey());
365 delete adapters[index]; 365 delete adapters[index];
366 adapters.erase(adapters.begin()+index); 366 adapters.erase(adapters.begin() + index);
367 continue; 367 continue;
368 } 368 }
369 369
370 return tmp; 370 return tmp;
371 } 371 }