mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix catch of polymorphic type by value
This commit is contained in:
parent
184bf7fd25
commit
21e9c41d96
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ PBD::demangle_symbol (const std::string& mangled_symbol)
|
|||
std::string demangled_symbol (realname);
|
||||
free (realname);
|
||||
return demangled_symbol;
|
||||
} catch (std::exception) {
|
||||
} catch (const std::exception&) {
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue