mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 09:47:09 +02:00
Fix warning
This commit is contained in:
parent
e901f0f9f4
commit
ad6ab1ad3b
1 changed files with 4 additions and 1 deletions
|
@ -46,9 +46,12 @@ struct JsonConfigItem
|
|||
{
|
||||
/// Read config item from json object @p j
|
||||
virtual void fromJson(const json& j) = 0;
|
||||
/// @return config item serialized to json
|
||||
/// @return config item serialized to json
|
||||
virtual json toJson() = 0;
|
||||
|
||||
/// d'tor
|
||||
virtual ~JsonConfigItem() = default;
|
||||
|
||||
protected:
|
||||
/// @return value for key @p what or @p def, if not found. Result is casted to T.
|
||||
template <typename T>
|
||||
|
|
Loading…
Add table
Reference in a new issue