mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
fixed crash
This commit is contained in:
parent
712dbe9937
commit
8d35f39939
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ protected:
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (!msg.count(what))
|
||||||
|
return def;
|
||||||
return msg[what].get<T>();
|
return msg[what].get<T>();
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue