win-wasapi: Catch by reference
This commit is contained in:
@@ -319,7 +319,7 @@ bool WASAPISource::TryInitialize()
|
||||
try {
|
||||
Initialize();
|
||||
|
||||
} catch (HRError error) {
|
||||
} catch (HRError &error) {
|
||||
if (previouslyFailed)
|
||||
return active;
|
||||
|
||||
|
Reference in New Issue
Block a user