win-wasapi: Catch by reference

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-24 14:56:16 +02:00
parent 3b0238fc11
commit 00298fd4f1
2 changed files with 2 additions and 2 deletions

View File

@@ -319,7 +319,7 @@ bool WASAPISource::TryInitialize()
try {
Initialize();
} catch (HRError error) {
} catch (HRError &error) {
if (previouslyFailed)
return active;