mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Catch std::exception by reference (#20385)
This commit is contained in:
@@ -286,7 +286,7 @@ void $safeprojectname$::init_settings()
|
||||
// // Save the PowerToyValues JSON to the power toy settings file.
|
||||
// values.save_to_settings_file();
|
||||
// }
|
||||
// catch (std::exception ex) {
|
||||
// catch (std::exception& ex) {
|
||||
// // Couldn't save the settings.
|
||||
// }
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user