13
0

avoid C++11 (and remove debug output)

This commit is contained in:
Robin Gareus 2016-10-30 04:51:31 +01:00
parent cfafb01b32
commit 0ea9270a4b
2 changed files with 2 additions and 6 deletions

View File

@ -544,11 +544,7 @@ LV2Plugin::init(const void* c_plugin, framecnt_t rate)
_midname_interface = (const LV2_Midnam_Interface*)
extension_data (LV2_MIDNAM__interface);
if (_midname_interface) {
if (read_midnam ()) {
printf ("READ MIDNAM FROM PLUGIN\n");
} else {
printf ("**FAILED TO ** READ MIDNAM FROM PLUGIN\n");
}
read_midnam ();
}
#endif

View File

@ -210,7 +210,7 @@ MidiPatchManager::remove_midi_name_document (const std::string& file_path)
cout << string_compose(_("Removing MIDI patch file %1"), file_path) << "\n";
info << string_compose(_("Removing MIDI patch file %1"), file_path) << endmsg;
i = _documents.erase(i);
_documents.erase(i++);
for (MIDINameDocument::MasterDeviceNamesList::const_iterator device =
document->master_device_names_by_model().begin();