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:
parent
6e8d58cbcc
commit
5f8720dae6
@ -267,7 +267,7 @@ void RunParameters::parseSwitchParam(const string &str)
|
||||
{
|
||||
goalBPM = parseSwitchValue(str);
|
||||
}
|
||||
catch (const runtime_error)
|
||||
catch (const runtime_error &)
|
||||
{
|
||||
// illegal or missing bpm value => just calculate bpm
|
||||
goalBPM = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user