1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 20:12:27 +01:00

Added & to catch() clause to handle exception as reference

This commit is contained in:
oparviai 2017-08-29 16:10:45 +00:00
parent 6e8d58cbcc
commit 5f8720dae6

View File

@ -267,7 +267,7 @@ void RunParameters::parseSwitchParam(const string &str)
{ {
goalBPM = parseSwitchValue(str); goalBPM = parseSwitchValue(str);
} }
catch (const runtime_error) catch (const runtime_error &)
{ {
// illegal or missing bpm value => just calculate bpm // illegal or missing bpm value => just calculate bpm
goalBPM = 0; goalBPM = 0;