Handle corner case in hasProperties

This commit is contained in:
xenakios 2018-02-25 21:06:59 +02:00
parent ebffc66e90
commit 13d03ecaeb

View File

@ -74,6 +74,8 @@ const int g_maxnumoutchans = 32;
template<typename... Args>
inline bool hasProperties(ValueTree src, Args&&... args)
{
if (sizeof...(args) == 0)
return false;
return (src.hasProperty(args) && ...);
}