mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Simplify GuardedCall and default its return type to void
This commit is contained in:
@@ -377,7 +377,7 @@ void KeyConfigPrefs::OnExport(wxCommandEvent & WXUNUSED(event))
|
||||
return;
|
||||
}
|
||||
|
||||
GuardedCall< void >( [&] {
|
||||
GuardedCall( [&] {
|
||||
XMLFileWriter prefFile{ file, _("Error Exporting Keyboard Shortcuts") };
|
||||
mManager->WriteXML(prefFile);
|
||||
prefFile.Commit();
|
||||
|
||||
Reference in New Issue
Block a user