avoid C++11 (and remove debug output)
This commit is contained in:
parent
cfafb01b32
commit
0ea9270a4b
@ -544,11 +544,7 @@ LV2Plugin::init(const void* c_plugin, framecnt_t rate)
|
|||||||
_midname_interface = (const LV2_Midnam_Interface*)
|
_midname_interface = (const LV2_Midnam_Interface*)
|
||||||
extension_data (LV2_MIDNAM__interface);
|
extension_data (LV2_MIDNAM__interface);
|
||||||
if (_midname_interface) {
|
if (_midname_interface) {
|
||||||
if (read_midnam ()) {
|
read_midnam ();
|
||||||
printf ("READ MIDNAM FROM PLUGIN\n");
|
|
||||||
} else {
|
|
||||||
printf ("**FAILED TO ** READ MIDNAM FROM PLUGIN\n");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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";
|
cout << string_compose(_("Removing MIDI patch file %1"), file_path) << "\n";
|
||||||
info << string_compose(_("Removing MIDI patch file %1"), file_path) << endmsg;
|
info << string_compose(_("Removing MIDI patch file %1"), file_path) << endmsg;
|
||||||
|
|
||||||
i = _documents.erase(i);
|
_documents.erase(i++);
|
||||||
|
|
||||||
for (MIDINameDocument::MasterDeviceNamesList::const_iterator device =
|
for (MIDINameDocument::MasterDeviceNamesList::const_iterator device =
|
||||||
document->master_device_names_by_model().begin();
|
document->master_device_names_by_model().begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user