Handle corner case in hasProperties
This commit is contained in:
parent
ebffc66e90
commit
13d03ecaeb
@ -74,6 +74,8 @@ const int g_maxnumoutchans = 32;
|
|||||||
template<typename... Args>
|
template<typename... Args>
|
||||||
inline bool hasProperties(ValueTree src, Args&&... args)
|
inline bool hasProperties(ValueTree src, Args&&... args)
|
||||||
{
|
{
|
||||||
|
if (sizeof...(args) == 0)
|
||||||
|
return false;
|
||||||
return (src.hasProperty(args) && ...);
|
return (src.hasProperty(args) && ...);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user