mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-15 04:50:46 +02:00
Catch exceptions by reference
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ static LV2_Handle instantiate(const LV2_Descriptor*, double rate, const char*, c
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
catch(const std::exception)
|
||||
catch(const std::exception&)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user