libobs-d3d11: Consistent exception catch parameters

Fixed missing references, and stray usages of const references instead
of reference to const types. Apply const correctly where applicable.
This commit is contained in:
jpark37
2019-08-28 21:10:51 -07:00
parent 6943d9a973
commit fe02a8286e
3 changed files with 27 additions and 27 deletions

View File

@@ -440,6 +440,6 @@ try {
} catch (const char *error) {
bcrash("Failed to recreate D3D11: %s", error);
} catch (HRError &error) {
} catch (const HRError &error) {
bcrash("Failed to recreate D3D11: %s (%08lX)", error.str, error.hr);
}