win-wasapi: Catch by reference
This commit is contained in:
parent
3b0238fc11
commit
00298fd4f1
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ void GetWASAPIAudioDevices(vector<AudioDeviceInfo> &devices, bool input)
|
|||
try {
|
||||
GetWASAPIAudioDevices_(devices, input);
|
||||
|
||||
} catch (HRError error) {
|
||||
} catch (HRError &error) {
|
||||
blog(LOG_WARNING, "[GetWASAPIAudioDevices] %s: %lX", error.str,
|
||||
error.hr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue