mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-08 04:20:10 +02:00
Catch exceptions by reference
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ namespace NAM {
|
||||
|
||||
memcpy(response.path, msg->path, pathlen);
|
||||
}
|
||||
catch (std::exception)
|
||||
catch (const std::exception&)
|
||||
{
|
||||
response.path[0] = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user